You are here

public function ConstraintAValidator::initialize in Zircon Profile 8

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

Initializes the constraint validator.

Parameters

ExecutionContextInterface $context The current validation context:

Overrides ConstraintValidator::initialize

File

vendor/symfony/validator/Tests/Fixtures/ConstraintAValidator.php, line 22

Class

ConstraintAValidator

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function initialize(ExecutionContextInterface $context) {
  parent::initialize($context);
  self::$passedContext = $context;
}