public function getIterator() { return ArrayIterator($this->_config); }
public function getIterator() { $services = array_keys($this->_containerServicesDefinitions); if (in_array('_extend', $services)) { unset($services[array_search('_extend', $services)]); } return ArrayIterator($services); }
/** * Instead of \Iterator we use \IteratorAggregate instead * * This gets the iterator for the range * * @return \ArrayIterator The iterator for the range * */ public function getIterator() { return \ArrayIterator(range($this->min, $this->max)); }