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

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

Public Methods

Method Description
__construct ( string $name, Variable $variable = null, Location $location )
getName ( ) : string
getValue ( )
getVariable ( )
setValue ( $value )

Method Details

__construct() public method

public __construct ( string $name, Variable $variable = null, Location $location )
$name string
$variable Variable
$location Youshido\GraphQL\Parser\Location

getName() public method

public getName ( ) : string
return string

getValue() public method

public getValue ( )

getVariable() public method

public getVariable ( )

setValue() public method

public setValue ( $value )