PHP Class Youshido\GraphQL\Parser\Ast\Argument

Inheritance: extends AbstractAst
Mostra file Open project: youshido/graphql Class Usage Examples

Public Methods

Method Description
__construct ( string $name, Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface $value, Location $location )
getName ( ) : mixed
getValue ( ) : Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface
setName ( mixed $name )
setValue ( mixed $value )

Method Details

__construct() public method

public __construct ( string $name, Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface $value, Location $location )
$name string
$value Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface
$location Youshido\GraphQL\Parser\Location

getName() public method

public getName ( ) : mixed
return mixed

getValue() public method

public getValue ( ) : Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface
return Youshido\GraphQL\Parser\Ast\Interfaces\ValueInterface

setName() public method

public setName ( mixed $name )
$name mixed

setValue() public method

public setValue ( mixed $value )
$value mixed