. */ namespace Poniverse\Ponyfm\Contracts; use Illuminate\Database\Eloquent\Relations\HasMany; /** * This interface is used for type safety when referring to entities that * are capable of being favourited. * * @package Poniverse\Ponyfm\Contracts */ interface Favouritable extends GeneratesNotifications { /** * This method returns an Eloquent relation to the entity's favourites. * * @return HasMany */ public function favourites():HasMany; }