Метод | Описание | |
---|---|---|
__construct ( |
TypeInfo constructor. | |
doTypesOverlap ( |
Provided two composite types, determine if they "overlap". Two composite types overlap when the Sets of possible concrete types for each intersect. | |
enter ( |
||
getArgument ( ) : |
||
getDirective ( ) : |
||
getFieldDef ( ) : |
||
getInputType ( ) : GraphQL\Type\Definition\InputType | ||
getParentType ( ) : |
||
getType ( ) : |
||
isEqualType ( |
Provided two types, return true if the types are equal (invariant). | |
isTypeSubTypeOf ( |
Provided a type and a super type, return true if the first type is either equal or a subset of the second super type (covariant). | |
leave ( |
||
typeFromAST ( |
Метод | Описание | |
---|---|---|
getFieldDefinition ( |
Not exactly the same as the executor's definition of getFieldDef, in this statically evaluated environment we do not always have an Object type, and need to handle Interface and Union types. |
public __construct ( |
||
$schema |
static public doTypesOverlap ( |
||
$schema | ||
$typeA | GraphQL\Type\Definition\CompositeType | |
$typeB | GraphQL\Type\Definition\CompositeType |
public getArgument ( ) : |
||
Результат |
public getDirective ( ) : |
||
Результат |
public getFieldDef ( ) : |
||
Результат |
public getInputType ( ) : GraphQL\Type\Definition\InputType | ||
Результат | GraphQL\Type\Definition\InputType |
public getParentType ( ) : |
||
Результат |
public static isEqualType ( |
||
$typeA | ||
$typeB |
static public isTypeSubTypeOf ( |
||
$schema | ||
$maybeSubType | ||
$superType |
public static typeFromAST ( |
||
$schema | ||
Результат |