Method | Description | |
---|---|---|
__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 ( |
Method | Description | |
---|---|---|
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 ( ) : |
||
return |
public getDirective ( ) : |
||
return |
public getFieldDef ( ) : |
||
return |
public getInputType ( ) : GraphQL\Type\Definition\InputType | ||
return | GraphQL\Type\Definition\InputType |
public static isEqualType ( |
||
$typeA | ||
$typeB |
static public isTypeSubTypeOf ( |
||
$schema | ||
$maybeSubType | ||
$superType |
public static typeFromAST ( |
||
$schema | ||
return |