Files
animethemes-server/app/Contracts/Http/Api/Schema/InteractsWithPivots.php
T
paranarimasu 295a997354 Api allowed pivots (#570)
* refactor(api): prefer including pivot types to conditional pivot information

* style: fix StyleCI findings
2023-04-14 18:36:29 -05:00

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;
}