PHP Class GraphQL\Type\Definition\IntType

Inheritance: extends ScalarType
Show file Open project: webonyx/graphql-php

Public Properties

Property Type Description
$description string
$name string

Public Methods

Method Description
parseLiteral ( $ast ) : integer | null
parseValue ( mixed $value ) : integer | null
serialize ( mixed $value ) : integer | null

Private Methods

Method Description
coerceInt ( $value ) : integer | null

Method Details

parseLiteral() public method

public parseLiteral ( $ast ) : integer | null
$ast
return integer | null

parseValue() public method

public parseValue ( mixed $value ) : integer | null
$value mixed
return integer | null

serialize() public method

public serialize ( mixed $value ) : integer | null
$value mixed
return integer | null

Property Details

$description public property

public string $description
return string

$name public property

public string $name
return string