public function GroupSequence::getIterator in Plug 7
Returns an iterator for this group.
Return value
\Traversable The iterator
Deprecated
Implemented for backwards compatibility with Symfony < 2.5. To be removed in Symfony 3.0.
See also
\IteratorAggregate::getIterator()
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ GroupSequence.php, line 107
Class
- GroupSequence
- A sequence of validation groups.
Namespace
Symfony\Component\Validator\ConstraintsCode
public function getIterator() {
return new \ArrayIterator($this->groups);
}