Optionally, a GraphQL type may be provided, which will be used to
disambiguate between value primitives.
| PHP Value | GraphQL Value |
| ------------- | -------------------- |
| Object | Input Object |
| Assoc Array | Input Object |
| Array | List |
| Boolean | Boolean |
| String | String / Enum Value |
| Int | Int |
| Float | Int / Float |
| Mixed | Enum Value |
| null | NullValue |
static public astFromValue ( $value, GraphQL\Type\Definition\InputType $type ) : |
||
$value | ||
$type | GraphQL\Type\Definition\InputType | |
return |