BookStack/app/Interfaces/Favouritable.php

11 lines
225 B
PHP
Raw Normal View History

2021-05-15 19:29:56 -04:00
<?php namespace BookStack\Interfaces;
use Illuminate\Database\Eloquent\Relations\MorphMany;
interface Favouritable
{
/**
* Get the related favourite instances.
*/
public function favourites(): MorphMany;
}