You are here

public function ConstraintViolationAssertion::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\ConstraintViolationAssertion::__construct()

File

vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 334

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;
}