PHP Class Youshido\GraphQL\Execution\ResolveInfo

显示文件 Open project: youshido/graphql Class Usage Examples

Protected Properties

Property Type Description
$container mixed This property is to be used for DI in various scenario Added to original class to keep backward compatibility because of the way AbstractField::resolve has been declared
$executionContext Youshido\GraphQL\Execution\Context\ExecutionContextInterface
$field Youshido\GraphQL\Field\FieldInterface
$fieldASTList Youshido\GraphQL\Parser\Ast\Field[]

Public Methods

Method Description
__construct ( Youshido\GraphQL\Field\FieldInterface $field, array $fieldASTList, Youshido\GraphQL\Execution\Context\ExecutionContextInterface $executionContext )
getContainer ( )
getExecutionContext ( ) : Youshido\GraphQL\Execution\Context\ExecutionContextInterface
getField ( ) : Youshido\GraphQL\Field\FieldInterface
getFieldASTList ( ) : Field[]
getReturnType ( ) : AbstractType

Method Details

__construct() public method

public __construct ( Youshido\GraphQL\Field\FieldInterface $field, array $fieldASTList, Youshido\GraphQL\Execution\Context\ExecutionContextInterface $executionContext )
$field Youshido\GraphQL\Field\FieldInterface
$fieldASTList array
$executionContext Youshido\GraphQL\Execution\Context\ExecutionContextInterface

getContainer() public method

public getContainer ( )

getExecutionContext() public method

public getExecutionContext ( ) : Youshido\GraphQL\Execution\Context\ExecutionContextInterface
return Youshido\GraphQL\Execution\Context\ExecutionContextInterface

getField() public method

public getField ( ) : Youshido\GraphQL\Field\FieldInterface
return Youshido\GraphQL\Field\FieldInterface

getFieldASTList() public method

public getFieldASTList ( ) : Field[]
return Youshido\GraphQL\Parser\Ast\Field[]

getReturnType() public method

public getReturnType ( ) : AbstractType
return Youshido\GraphQL\Type\AbstractType

Property Details

$container protected_oe property

This property is to be used for DI in various scenario Added to original class to keep backward compatibility because of the way AbstractField::resolve has been declared
protected mixed $container
return mixed

$executionContext protected_oe property

protected ExecutionContextInterface,Youshido\GraphQL\Execution\Context $executionContext
return Youshido\GraphQL\Execution\Context\ExecutionContextInterface

$field protected_oe property

protected FieldInterface,Youshido\GraphQL\Field $field
return Youshido\GraphQL\Field\FieldInterface

$fieldASTList protected_oe property

protected Field[],Youshido\GraphQL\Parser\Ast $fieldASTList
return Youshido\GraphQL\Parser\Ast\Field[]