mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-18 16:50:49 +02:00
21 lines
324 B
PHP
21 lines
324 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Models;
|
|
|
|
use App\Models\User\Like;
|
|
use Illuminate\Database\Eloquent\Relations\MorphMany;
|
|
|
|
interface Likeable
|
|
{
|
|
public function like(): Like;
|
|
|
|
public function unlike(): mixed;
|
|
|
|
/**
|
|
* @return MorphMany
|
|
*/
|
|
public function likes(): MorphMany;
|
|
}
|