PHP Class Youshido\GraphQL\Execution\ResolveInfo

Afficher le fichier Open project: youshido/graphql Class Usage Examples

Protected Properties

Свойство 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[]

Méthodes publiques

Méthode 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 méthode

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 méthode

public getContainer ( )

getExecutionContext() public méthode

public getExecutionContext ( ) : Youshido\GraphQL\Execution\Context\ExecutionContextInterface
Résultat Youshido\GraphQL\Execution\Context\ExecutionContextInterface

getField() public méthode

public getField ( ) : Youshido\GraphQL\Field\FieldInterface
Résultat Youshido\GraphQL\Field\FieldInterface

getFieldASTList() public méthode

public getFieldASTList ( ) : Field[]
Résultat Youshido\GraphQL\Parser\Ast\Field[]

getReturnType() public méthode

public getReturnType ( ) : AbstractType
Résultat 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
Résultat mixed

$executionContext protected_oe property

protected ExecutionContextInterface,Youshido\GraphQL\Execution\Context $executionContext
Résultat Youshido\GraphQL\Execution\Context\ExecutionContextInterface

$field protected_oe property

protected FieldInterface,Youshido\GraphQL\Field $field
Résultat Youshido\GraphQL\Field\FieldInterface

$fieldASTList protected_oe property

protected Field[],Youshido\GraphQL\Parser\Ast $fieldASTList
Résultat Youshido\GraphQL\Parser\Ast\Field[]