PHP Class Youshido\GraphQLBundle\Execution\Processor

Inheritance: extends Youshido\GraphQL\Execution\Processor
Afficher le fichier Open project: youshido/graphql-bundle

Méthodes publiques

Méthode Description
__construct ( Youshido\GraphQL\Execution\Context\ExecutionContextInterface $executionContext )
processPayload ( $payload, $variables = [], $reducers = [] )
setLogger ( $logger = null )
setSecurityManager ( Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface $securityManger ) : Processor

Méthodes protégées

Méthode Description
doResolve ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null )
resolveQuery ( Query $query )

Private Methods

Méthode Description
assertClientHasFieldAccess ( ResolveInfo $resolveInfo )
assertClientHasOperationAccess ( Query $query )
isServiceReference ( $resolveFunc )

Method Details

__construct() public méthode

public __construct ( Youshido\GraphQL\Execution\Context\ExecutionContextInterface $executionContext )
$executionContext Youshido\GraphQL\Execution\Context\ExecutionContextInterface

doResolve() protected méthode

protected doResolve ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null )
$field Youshido\GraphQL\Field\FieldInterface
$ast Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface

processPayload() public méthode

public processPayload ( $payload, $variables = [], $reducers = [] )

resolveQuery() protected méthode

protected resolveQuery ( Query $query )
$query Youshido\GraphQL\Parser\Ast\Query

setLogger() public méthode

public setLogger ( $logger = null )

setSecurityManager() public méthode

public setSecurityManager ( Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface $securityManger ) : Processor
$securityManger Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface
Résultat Processor