You are here

public function ConstraintViolationAssertion::buildNextViolation 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::buildNextViolation()

File

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

Class

ConstraintViolationAssertion
@internal

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function buildNextViolation($message) {
  $assertions = $this->assertions;
  $assertions[] = $this;
  return new self($this->context, $message, $this->constraint, $assertions);
}