PHP Class GraphQL\Type\Definition\EnumType

Inheritance: extends Type, implements InputType, implements OutputType, implements GraphQL\Type\Definition\LeafType
Afficher le fichier Open project: webonyx/graphql-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $config )
getValues ( ) : EnumValueDefinition[]
parseLiteral ( $value ) : null
parseValue ( $value ) : null
serialize ( $value ) : null

Private Methods

Méthode Description
getNameLookup ( ) : ArrayObject
getValueLookup ( ) : MixedStore

Method Details

__construct() public méthode

public __construct ( $config )

getValues() public méthode

public getValues ( ) : EnumValueDefinition[]
Résultat EnumValueDefinition[]

parseLiteral() public méthode

public parseLiteral ( $value ) : null
$value
Résultat null

parseValue() public méthode

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

serialize() public méthode

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