Method | Description | |
---|---|---|
astFromValue ( $value, GraphQL\Type\Definition\InputType $type ) : |
Produces a GraphQL Value AST given a PHP value. | |
valueFromAST ( $valueNode, GraphQL\Type\Definition\InputType $type, null $variables = null ) : array | null | stdClass | Produces a PHP value given a GraphQL Value AST. |
Method | Description | |
---|---|---|
isMissingVariable ( $valueNode, $variables ) : boolean | Returns true if the provided valueNode is a variable which is not defined in the set of variables. |
static public astFromValue ( $value, GraphQL\Type\Definition\InputType $type ) : |
||
$value | ||
$type | GraphQL\Type\Definition\InputType | |
return |