Reference
C
Class

ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStage

Security post validation stage of GraphQL resolvers.

class ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/SecurityPostValidationStageInterface">ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStageInterface</a>`
{
    public __construct(null|ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface $resourceAccessChecker)
    public __invoke(string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}
class ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStage implements `<a href="/docs/reference/GraphQl/Resolver/Stage/SecurityPostValidationStageInterface">ApiPlatform\GraphQl\Resolver\Stage\SecurityPostValidationStageInterface</a>`
{
    public __construct(null|ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface $resourceAccessChecker)
    public __invoke(string $resourceClass, ApiPlatform\Metadata\GraphQl\Operation $operation, array $context): null
}

Methods

__construct

public __construct(null|ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface $resourceAccessChecker)
public __construct(null|ApiPlatform\Symfony\Security\ResourceAccessCheckerInterface $resourceAccessChecker)

Parameters

resourceAccessCheckerApiPlatform\Symfony\Security\ResourceAccessCheckerInterface

__invoke

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

Parameters

resourceClassstring
operationApiPlatform\Metadata\GraphQl\Operation
contextarray

Returns

null

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop