Youshido\GraphQL\Parser\Ast\Argument::__construct PHP Method

__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
    public function __construct($name, ValueInterface $value, Location $location)
    {
        parent::__construct($location);
        $this->name = $name;
        $this->value = $value;
    }