Méthode | 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 ( |
Méthode | 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 ( ) : |
||
Résultat |
public getDirective ( ) : |
||
Résultat |
public getFieldDef ( ) : |
||
Résultat |
public getInputType ( ) : GraphQL\Type\Definition\InputType | ||
Résultat | GraphQL\Type\Definition\InputType |
public getParentType ( ) : |
||
Résultat |
public static isEqualType ( |
||
$typeA | ||
$typeB |
static public isTypeSubTypeOf ( |
||
$schema | ||
$maybeSubType | ||
$superType |
public static typeFromAST ( |
||
$schema | ||
Résultat |