You are here

public function StubGlobalExecutionContext::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php \Symfony\Component\Validator\Tests\Fixtures\StubGlobalExecutionContext::__construct()

File

vendor/symfony/validator/Tests/Fixtures/StubGlobalExecutionContext.php, line 31

Class

StubGlobalExecutionContext
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function __construct($root = null, ValidationVisitorInterface $visitor = null) {
  $this->violations = new ConstraintViolationList();
  $this->root = $root;
  $this->visitor = $visitor;
}