PHP Class Youshido\GraphQLBundle\Execution\Processor

Inheritance: extends Youshido\GraphQL\Execution\Processor
Show file Open project: youshido/graphql-bundle

Public Methods

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

Protected Methods

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

Private Methods

Method Description
assertClientHasFieldAccess ( ResolveInfo $resolveInfo )
assertClientHasOperationAccess ( Query $query )
isServiceReference ( $resolveFunc )

Method Details

__construct() public method

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

doResolve() protected method

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 method

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

resolveQuery() protected method

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

setLogger() public method

public setLogger ( $logger = null )

setSecurityManager() public method

public setSecurityManager ( Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface $securityManger ) : Processor
$securityManger Youshido\GraphQLBundle\Security\Manager\SecurityManagerInterface
return Processor