PHP Class GraphQL\Type\Definition\CustomScalarType

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

Public Properties

Property Type Description
$config array

Public Methods

Method Description
__construct ( array $config ) CustomScalarType constructor.
parseLiteral ( $valueNode ) : mixed
parseValue ( mixed $value ) : mixed
serialize ( mixed $value ) : mixed

Method Details

__construct() public method

CustomScalarType constructor.
public __construct ( array $config )
$config array

parseLiteral() public method

public parseLiteral ( $valueNode ) : mixed
$valueNode
return mixed

parseValue() public method

public parseValue ( mixed $value ) : mixed
$value mixed
return mixed

serialize() public method

public serialize ( mixed $value ) : mixed
$value mixed
return mixed

Property Details

$config public_oe property

public array $config
return array