PHP Class GraphQL\Type\Definition\IntType

Inheritance: extends ScalarType
ファイルを表示 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_oe property

public string $description
return string

$name public_oe property

public string $name
return string