protected function AbstractConstraintValidatorTest::buildViolation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest::buildViolation()
Parameters
$message:
Return value
File
- vendor/
symfony/ validator/ Tests/ Constraints/ AbstractConstraintValidatorTest.php, line 296
Class
- AbstractConstraintValidatorTest
- @since 2.5.3
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function buildViolation($message) {
return new ConstraintViolationAssertion($this->context, $message, $this->constraint);
}