protected function ConstraintViolationListTest::getViolation in Plug 7
6 calls to ConstraintViolationListTest::getViolation()
- ConstraintViolationListTest::testAdd in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testAddAll in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testArrayAccess in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testInitWithViolations in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintViolationListTest.php - ConstraintViolationListTest::testIterator in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ConstraintViolationListTest.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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);
}