public function ConstraintViolationList::getIterator in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ ConstraintViolationList.php, line 111
Class
- ConstraintViolationList
- Default implementation of {@ConstraintViolationListInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getIterator() {
return new \ArrayIterator($this->violations);
}