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 |
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 ( ) : |
||
getReturnType ( ) : |
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 |
public getExecutionContext ( ) : Youshido\GraphQL\Execution\Context\ExecutionContextInterface | ||
return | Youshido\GraphQL\Execution\Context\ExecutionContextInterface |
public getField ( ) : Youshido\GraphQL\Field\FieldInterface | ||
return | Youshido\GraphQL\Field\FieldInterface |
public getFieldASTList ( ) : |
||
return |
public getReturnType ( ) : |
||
return |
protected mixed $container | ||
return | mixed |
protected ExecutionContextInterface,Youshido\GraphQL\Execution\Context $executionContext | ||
return | Youshido\GraphQL\Execution\Context\ExecutionContextInterface |
protected FieldInterface,Youshido\GraphQL\Field $field | ||
return | Youshido\GraphQL\Field\FieldInterface |