mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-08 05:33:12 +02:00
* refactor(api): prefer including pivot types to conditional pivot information * style: fix StyleCI findings
21 lines
337 B
PHP
21 lines
337 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Contracts\Http\Api\Schema;
|
|
|
|
use App\Http\Api\Include\AllowedInclude;
|
|
|
|
/**
|
|
* Interface InteractsWithPivots.
|
|
*/
|
|
interface InteractsWithPivots
|
|
{
|
|
/**
|
|
* Get the allowed pivots of the schema.
|
|
*
|
|
* @return AllowedInclude[]
|
|
*/
|
|
public function allowedPivots(): array;
|
|
}
|