You are here

protected function AbstractConstraintValidatorTest::buildViolation 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\AbstractConstraintValidatorTest::buildViolation()

Parameters

$message:

Return value

ConstraintViolationAssertion

File

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

Class

AbstractConstraintValidatorTest
@since 2.5.3

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function buildViolation($message) {
  return new ConstraintViolationAssertion($this->context, $message, $this->constraint);
}