You are here

private function ConstraintViolationAssertion::getViolation in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\ConstraintViolationAssertion::getViolation()
1 call to ConstraintViolationAssertion::getViolation()
ConstraintViolationAssertion::assertRaised in vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php

File

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

Class

ConstraintViolationAssertion
@internal

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

private function getViolation() {
  return new ConstraintViolation(null, $this->message, $this->parameters, $this->context
    ->getRoot(), $this->propertyPath, $this->invalidValue, $this->plural, $this->code, $this->constraint, $this->cause);
}