mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-24 03:29:23 +02:00
21 lines
310 B
PHP
21 lines
310 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\GraphQL;
|
|
|
|
use App\GraphQL\Definition\Relations\Relation;
|
|
|
|
/**
|
|
* Interface HasRelations.
|
|
*/
|
|
interface HasRelations
|
|
{
|
|
/**
|
|
* The relations of the type.
|
|
*
|
|
* @return array<int, Relation>
|
|
*/
|
|
public function relations(): array;
|
|
}
|