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