public function ConstraintViolationAssertion::buildNextViolation in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ AbstractConstraintValidatorTest.php, line 502
Class
- ConstraintViolationAssertion
- @internal
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function buildNextViolation($message) {
$assertions = $this->assertions;
$assertions[] = $this;
return new self($this->context, $message, $this->constraint, $assertions);
}