Guides
Tutorials
Serialize stage of GraphQL resolvers.
interface ApiPlatform\GraphQl\Resolver\Stage\SerializeStageInterface
{
public __invoke(null|object|array $itemOrCollection, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): array
}
interface ApiPlatform\GraphQl\Resolver\Stage\SerializeStageInterface
{
public __invoke(null|object|array $itemOrCollection, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): array
}
public __invoke(null|object|array $itemOrCollection, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): array
public __invoke(null|object|array $itemOrCollection, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): array
itemOrCollection | object array | |
resourceClass | string | |
operation | ApiPlatform\Metadata\GraphQl\Operation | |
context | array |
array