PHP Class GraphQL\Type\Definition\CustomScalarType

Inheritance: extends ScalarType
Afficher le fichier Open project: webonyx/graphql-php

Méthodes publiques

Свойство Type Description
$config array

Méthodes publiques

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

Method Details

__construct() public méthode

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

parseLiteral() public méthode

public parseLiteral ( $valueNode ) : mixed
$valueNode
Résultat mixed

parseValue() public méthode

public parseValue ( mixed $value ) : mixed
$value mixed
Résultat mixed

serialize() public méthode

public serialize ( mixed $value ) : mixed
$value mixed
Résultat mixed

Property Details

$config public_oe property

public array $config
Résultat array