X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fvalidator%2FTests%2FFixtures%2FStubGlobalExecutionContext.php;fp=vendor%2Fsymfony%2Fvalidator%2FTests%2FFixtures%2FStubGlobalExecutionContext.php;h=0000000000000000000000000000000000000000;hp=bd2f5c94e7a9697f81172d4f8b0fc09e2bc1e8f0;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php b/vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php deleted file mode 100644 index bd2f5c94e..000000000 --- a/vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php +++ /dev/null @@ -1,68 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Validator\Tests\Fixtures; - -use Symfony\Component\Validator\ConstraintViolationList; -use Symfony\Component\Validator\GlobalExecutionContextInterface; -use Symfony\Component\Validator\ValidationVisitorInterface; - -/** - * @author Bernhard Schussek - * - * @deprecated since version 2.5, to be removed in 3.0 - */ -class StubGlobalExecutionContext implements GlobalExecutionContextInterface -{ - private $violations; - private $root; - private $visitor; - - public function __construct($root = null, ValidationVisitorInterface $visitor = null) - { - $this->violations = new ConstraintViolationList(); - $this->root = $root; - $this->visitor = $visitor; - } - - public function getViolations() - { - return $this->violations; - } - - public function setRoot($root) - { - $this->root = $root; - } - - public function getRoot() - { - return $this->root; - } - - public function setVisitor(ValidationVisitorInterface $visitor) - { - $this->visitor = $visitor; - } - - public function getVisitor() - { - return $this->visitor; - } - - public function getValidatorFactory() - { - } - - public function getMetadataFactory() - { - } -}