PHP Class GraphQL\Type\Definition\EnumType

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

Public Methods

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

Private Methods

Method Description
getNameLookup ( ) : ArrayObject
getValueLookup ( ) : MixedStore

Method Details

__construct() public method

public __construct ( $config )

getValues() public method

public getValues ( ) : EnumValueDefinition[]
return EnumValueDefinition[]

parseLiteral() public method

public parseLiteral ( $value ) : null
$value
return null

parseValue() public method

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

serialize() public method

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