You are here

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\Validator

Code

public function getIterator() {
  return new \ArrayIterator($this->violations);
}