Extracts identifiers for a given Resource according to the retrieved Metadata.
interface ApiPlatform\Api\IdentifiersExtractorInterface
{
public getIdentifiersFromItem(object $item, null|ApiPlatform\Metadata\Operation $operation, array $context): array
}
Finds identifiers from an Item (object).
public getIdentifiersFromItem(object $item, null|ApiPlatform\Metadata\Operation $operation, array $context): array
item | object | |
operation | `ApiPlatform\Metadata\Operation` | |
context | array |
array
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more