for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Type\Definition;
trait TypeTrait
{
/**
* @var TypeInterface
*/
private $type;
* @return TypeInterface
public function getType(): TypeInterface
return $this->type;
}
* @param TypeInterface $type
* @return $this
protected function setType(TypeInterface $type)
$this->type = $type;
return $this;