Framework/src/Http/JsonApi/SchemaProviderInterface.php
Funky Waddle 54303282d7
Some checks failed
CI / PHP ${{ matrix.php }} (8.1) (push) Has been cancelled
CI / PHP ${{ matrix.php }} (8.2) (push) Has been cancelled
CI / PHP ${{ matrix.php }} (8.3) (push) Has been cancelled
Too many things
2026-01-06 11:02:05 -06:00

14 lines
375 B
PHP

<?php
declare(strict_types=1);
namespace Phred\Http\JsonApi;
interface SchemaProviderInterface
{
public function getResourceType(): string;
public function getId(mixed $resource): string;
public function getAttributes(mixed $resource): array;
public function getRelationships(mixed $resource): array;
public function getLinks(mixed $resource): array;
}