You are here

private function ConstraintViolationAssertion::getViolation in Plug 7

1 call to ConstraintViolationAssertion::getViolation()
ConstraintViolationAssertion::assertRaised in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractConstraintValidatorTest.php

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/AbstractConstraintValidatorTest.php, line 530

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