PHP Class Youshido\GraphQL\Parser\Ast\ArgumentValue\Variable

Inheritance: extends Youshido\GraphQL\Parser\Ast\AbstractAst, implements Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface
Show file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
__construct ( string $name, string $type, boolean $nullable, boolean $isArray, Location $location )
getName ( ) : string
getTypeName ( ) : string
getValue ( ) : mixed
isArray ( ) : boolean
isNullable ( ) : boolean
isUsed ( ) : boolean
setIsArray ( boolean $isArray )
setName ( string $name )
setNullable ( boolean $nullable )
setTypeName ( string $type )
setUsed ( boolean $used )
setValue ( mixed $value )

Method Details

__construct() public method

public __construct ( string $name, string $type, boolean $nullable, boolean $isArray, Location $location )
$name string
$type string
$nullable boolean
$isArray boolean
$location Youshido\GraphQL\Parser\Location

getName() public method

public getName ( ) : string
return string

getTypeName() public method

public getTypeName ( ) : string
return string

getValue() public method

public getValue ( ) : mixed
return mixed

isArray() public method

public isArray ( ) : boolean
return boolean

isNullable() public method

public isNullable ( ) : boolean
return boolean

isUsed() public method

public isUsed ( ) : boolean
return boolean

setIsArray() public method

public setIsArray ( boolean $isArray )
$isArray boolean

setName() public method

public setName ( string $name )
$name string

setNullable() public method

public setNullable ( boolean $nullable )
$nullable boolean

setTypeName() public method

public setTypeName ( string $type )
$type string

setUsed() public method

public setUsed ( boolean $used )
$used boolean

setValue() public method

public setValue ( mixed $value )
$value mixed