Guides
Tutorials
Validate stage of GraphQL resolvers.
class ApiPlatform\GraphQl\Resolver\Stage\ValidateStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/ValidateStageInterface">ApiPlatform\GraphQl\Resolver\Stage\ValidateStageInterface</a>`
{
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
public __invoke(object $object, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}
class ApiPlatform\GraphQl\Resolver\Stage\ValidateStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/ValidateStageInterface">ApiPlatform\GraphQl\Resolver\Stage\ValidateStageInterface</a>`
{
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
public __invoke(object $object, string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
public __construct(ApiPlatform\Validator\ValidatorInterface $validator)
validator | ApiPlatform\Validator\ValidatorInterface |
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
object | object | |
resourceClass | string | |
operation | ApiPlatform\Metadata\GraphQl\Operation | |
context | array |
null