Guides
Tutorials
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
}
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
public getIdentifiersFromItem(object $item, null|ApiPlatform\Metadata\Operation $operation, array $context): array
item | object | |
operation | ApiPlatform\Metadata\Operation | |
context | array |
array