You are here

public function ConstraintViolationAssertion::__construct in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 438

Class

ConstraintViolationAssertion
@internal

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function __construct(LegacyExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = array()) {
  $this->context = $context;
  $this->message = $message;
  $this->constraint = $constraint;
  $this->assertions = $assertions;
}