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\ConstraintsCode
public function __construct(LegacyExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = array()) {
$this->context = $context;
$this->message = $message;
$this->constraint = $constraint;
$this->assertions = $assertions;
}