References ValidateStage
Reference
C
Class

ApiPlatform\GraphQl\Resolver\Stage\ValidateStage

Validate stage of GraphQL resolvers.

class ApiPlatform\GraphQl\Resolver\Stage\ValidateStage implements ApiPlatform\GraphQl\Resolver\Stage\ValidateStageInterface
{
    public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
    public __invoke(object $object, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}

Methods

__construct

public __construct(ApiPlatform\Validator\ValidatorInterface $validator)

Parameters

validator`ApiPlatform\Validator\ValidatorInterface`

__invoke

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

Parameters

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

Returns

null

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