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
Namespace
Symfony\Component\Validator\Tests\FixturesCode
public function initialize(ExecutionContextInterface $context) {
parent::initialize($context);
self::$passedContext = $context;
}