Skip to content

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

View source

Public Properties ​

PropertyDescription
descriptionstring
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 Orfalse'

View source

name ​

Default value
'IntFalse'

View source

Public Methods ​

MethodDescription
__construct()
getName()
getType()Returns a singleton instance to ensure one type per schema.
parseLiteral()
parseValue()
serialize()

__construct() ​

View source

Arguments ​

  • $config

getName() ​

View source

Returns ​

string

getType() ​

Returns a singleton instance to ensure one type per schema.

View source

Returns ​

craft\commerce\gql\types\input\IntFalse

parseLiteral() ​

View source

Arguments ​

Returns ​

false, integer, mixed

Throws ​

  • \GraphQL\Error\Error

parseValue() ​

View source

Arguments ​

  • $value (mixed)

Returns ​

integer, false

Throws ​

  • \GraphQL\Error\Error

serialize() ​

View source

Arguments ​

  • $value (mixed)

Returns ​

false, integer, mixed, null

Throws ​

  • \GraphQL\Error\Error