IntFalse ​
- Type
- Class
- Namespace
- craft\commerce\gql\types\input
- Inherits
- craft\commerce\gql\types\input\IntFalse »
GraphQL\Type\Definition\ScalarType
- Since
- 5.0.7
Class IntFalse
Public Properties ​
Property | Description |
---|---|
description | string |
name |
description
​
- Type
- string
- Default value
'The
IntFalsescalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1 Or
false'
name
​
- Default value
'IntFalse'
Public Methods ​
Method | Description |
---|---|
__construct() | |
getName() | |
getType() | Returns a singleton instance to ensure one type per schema. |
parseLiteral() | |
parseValue() | |
serialize() |
__construct()
​
Arguments ​
$config
getName()
​
Returns ​
getType()
​
Returns a singleton instance to ensure one type per schema.
Returns ​
craft\commerce\gql\types\input\IntFalse
parseLiteral()
​
Arguments ​
Returns ​
Throws ​
\GraphQL\Error\Error
parseValue()
​
Arguments ​
$value
(mixed
)
Returns ​
Throws ​
\GraphQL\Error\Error
serialize()
​
Arguments ​
$value
(mixed
)
Returns ​
Throws ​
\GraphQL\Error\Error