You are here

public function ConstraintValidator::initialize in Plug 7

Initializes the constraint validator.

Parameters

ExecutionContextInterface $context The current validation context:

Overrides ConstraintValidatorInterface::initialize

1 call to ConstraintValidator::initialize()
ConstraintAValidator::initialize in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/ConstraintAValidator.php
Initializes the constraint validator.
1 method overrides ConstraintValidator::initialize()
ConstraintAValidator::initialize in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/ConstraintAValidator.php
Initializes the constraint validator.

File

lib/Symfony/validator/Symfony/Component/Validator/ConstraintValidator.php, line 50

Class

ConstraintValidator
Base class for constraint validators.

Namespace

Symfony\Component\Validator

Code

public function initialize(ExecutionContextInterface $context) {
  $this->context = $context;
}