Reference
I
Interface

ApiPlatform\GraphQl\Resolver\Stage\ValidateStageInterface

Validate stage of GraphQL resolvers.

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

Methods

__invoke

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

Parameters

objectobject
resourceClassstring
operationApiPlatform\Metadata\GraphQl\Operation
contextarray

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop