mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-19 01:01:04 +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\ViewAggregate;
|
|
use Illuminate\Database\Eloquent\Relations\MorphOne;
|
|
|
|
/**
|
|
* @property ViewAggregate|null $viewAggregate
|
|
*/
|
|
interface HasAggregateViews
|
|
{
|
|
/**
|
|
* @return MorphOne
|
|
*/
|
|
public function viewAggregate(): MorphOne;
|
|
}
|