protected function ConstraintViolationListTest::getViolation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/ConstraintViolationListTest.php \Symfony\Component\Validator\Tests\ConstraintViolationListTest::getViolation()
6 calls to ConstraintViolationListTest::getViolation()
- ConstraintViolationListTest::testAdd in vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testAddAll in vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testArrayAccess in vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testInitWithViolations in vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testIterator in vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php
File
- vendor/
symfony/ validator/ Tests/ ConstraintViolationListTest.php, line 130
Class
Namespace
Symfony\Component\Validator\TestsCode
protected function getViolation($message, $root = null, $propertyPath = null) {
return new ConstraintViolation($message, $message, array(), $root, $propertyPath, null);
}