for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Validation;
trait ContextAwareTrait
{
/**
* @var ValidationContextInterface
*/
protected $context;
* @return ValidationContextInterface
public function getContext(): ValidationContextInterface
return $this->context;
}
* @param ValidationContextInterface $context
* @return $this
public function setContext(ValidationContextInterface $context)
$this->context = $context;
return $this;