References ReadStageInterface
Reference
I
Interface

ApiPlatform\GraphQl\Resolver\Stage\ReadStageInterface

Read stage of GraphQL resolvers.

interface ApiPlatform\GraphQl\Resolver\Stage\ReadStageInterface
{
    public __invoke(null|string $resourceClass, null|string $rootClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object|array
}

Methods

__invoke

public __invoke(null|string $resourceClass, null|string $rootClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object|array

Parameters

resourceClassstring
rootClassstring
operation`ApiPlatform\Metadata\GraphQl\Operation`
contextarray

Returns

object
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