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
}
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
public __invoke(null|string $resourceClass, null|string $rootClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): object|array

Parameters

resourceClassstring
rootClassstring
operationApiPlatform\Metadata\GraphQl\Operation
contextarray

Returns

object
array

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop