1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Started addition of favourite system

This commit is contained in:
Dan Brown
2021-05-16 00:29:56 +01:00
parent 7a059a5e90
commit bf8e7f3393
13 changed files with 190 additions and 4 deletions

View File

@ -0,0 +1,11 @@
<?php namespace BookStack\Interfaces;
use Illuminate\Database\Eloquent\Relations\MorphMany;
interface Favouritable
{
/**
* Get the related favourite instances.
*/
public function favourites(): MorphMany;
}