for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Date: 23.11.15
*
* @author Portey Vasil <[email protected]>
*/
namespace Youshido\GraphQL\Parser\Ast;
use Youshido\GraphQL\Parser\Ast\ArgumentValue\ValueInterface;
class Argument
{
/** @var string */
private $name;
/** @var ValueInterface */
private $value;
public function __construct($name, ValueInterface $value)
$this->name = $name;
$this->value = $value;
}
* @return mixed
public function getName()
return $this->name;
* @param mixed $name
public function setName($name)
* @return ValueInterface
public function getValue()
return $this->value;
* @param mixed $value
public function setValue($value)