for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Type\Definition;
use Digia\GraphQL\Config\ConfigObject;
use Digia\GraphQL\Language\Node\NodeAwareInterface;
use Digia\GraphQL\Language\Node\NodeTrait;
class Directive extends ConfigObject implements DirectiveInterface, NodeAwareInterface
{
use NodeTrait;
use NameTrait;
use DescriptionTrait;
use ArgumentsTrait;
/**
* @var string[]
*/
protected $locations;
* @return string[]
public function getLocations(): array
return $this->locations;
}
* @param string[] $locations
* @return $this
protected function setLocations(array $locations)
$this->locations = $locations;
return $this;