References IdentifiersExtractorInterface
Reference
I
Interface

ApiPlatform\Api\IdentifiersExtractorInterface

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
}

Methods

getIdentifiersFromItem

Finds identifiers from an Item (object).

public getIdentifiersFromItem(object $item, null|ApiPlatform\Metadata\Operation $operation, array $context): array

Parameters

itemobject
operation`ApiPlatform\Metadata\Operation`
contextarray

Returns

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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop