You are here

public function ConstraintValidator::initialize in Zircon Profile 8

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

Initializes the constraint validator.

Parameters

ExecutionContextInterface $context The current validation context:

Overrides ConstraintValidatorInterface::initialize

1 call to ConstraintValidator::initialize()
ConstraintAValidator::initialize in vendor/symfony/validator/Tests/Fixtures/ConstraintAValidator.php
Initializes the constraint validator.
1 method overrides ConstraintValidator::initialize()
ConstraintAValidator::initialize in vendor/symfony/validator/Tests/Fixtures/ConstraintAValidator.php
Initializes the constraint validator.

File

vendor/symfony/validator/ConstraintValidator.php, line 48

Class

ConstraintValidator
Base class for constraint validators.

Namespace

Symfony\Component\Validator

Code

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