for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Date: 3/17/17
*
* @author Volodymyr Rashchepkin <[email protected]>
*/
namespace Youshido\GraphQL\Parser\Ast;
use Youshido\GraphQL\Parser\Location;
class Directive extends AbstractAst
{
use AstArgumentsTrait;
/** @var string */
private $name;
* @param string $name
* @param array $arguments
* @param Location $location
public function __construct($name, array $arguments, Location $location)
parent::__construct($location);
$this->name = $name;
$this->setArguments($arguments);
}
* @return mixed
public function getName()
return $this->name;
* @param mixed $name
public function setName($name)