mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-18 16:50:49 +02:00
20 lines
334 B
PHP
20 lines
334 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Models;
|
|
|
|
use App\Models\Aggregate\LikeAggregate;
|
|
use Illuminate\Database\Eloquent\Relations\MorphOne;
|
|
|
|
/**
|
|
* @property LikeAggregate|null $likeAggregate
|
|
*/
|
|
interface HasAggregateLikes
|
|
{
|
|
/**
|
|
* @return MorphOne
|
|
*/
|
|
public function likeAggregate(): MorphOne;
|
|
}
|