You are here

public function ConstraintAValidator::initialize in Plug 7

Initializes the constraint validator.

Parameters

ExecutionContextInterface $context The current validation context:

Overrides ConstraintValidator::initialize

File

lib/Symfony/validator/Symfony/Component/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;
}