PHP Класс Youshido\GraphQL\Execution\ResolveInfo

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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[]

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

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 getContainer ( )

getExecutionContext() публичный Метод

public getExecutionContext ( ) : Youshido\GraphQL\Execution\Context\ExecutionContextInterface
Результат Youshido\GraphQL\Execution\Context\ExecutionContextInterface

getField() публичный Метод

public getField ( ) : Youshido\GraphQL\Field\FieldInterface
Результат Youshido\GraphQL\Field\FieldInterface

getFieldASTList() публичный Метод

public getFieldASTList ( ) : Field[]
Результат Youshido\GraphQL\Parser\Ast\Field[]

getReturnType() публичный Метод

public getReturnType ( ) : AbstractType
Результат Youshido\GraphQL\Type\AbstractType

Описание свойств

$container защищенное свойство

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
Результат mixed

$executionContext защищенное свойство

protected ExecutionContextInterface,Youshido\GraphQL\Execution\Context $executionContext
Результат Youshido\GraphQL\Execution\Context\ExecutionContextInterface

$field защищенное свойство

protected FieldInterface,Youshido\GraphQL\Field $field
Результат Youshido\GraphQL\Field\FieldInterface

$fieldASTList защищенное свойство

protected Field[],Youshido\GraphQL\Parser\Ast $fieldASTList
Результат Youshido\GraphQL\Parser\Ast\Field[]