for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the TraitorBundle, an RunOpenCode project.
*
* (c) 2017 RunOpenCode
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace RunOpenCode\Bundle\Traitor\Traits;
use Symfony\Component\Validator\Validator\ValidatorInterface;
/**
* Class ValidatorAwareTrait
* @package RunOpenCode\Bundle\Traitor\Traits
* @codeCoverageIgnoregit
trait ValidatorAwareTrait
{
* @var ValidatorInterface
protected $validator;
public function setValidator(ValidatorInterface $validator)
$this->validator = $validator;
}