Beispiel #1
0
 public function getIterator()
 {
     return ArrayIterator($this->_config);
 }
Beispiel #2
0
 public function getIterator()
 {
     $services = array_keys($this->_containerServicesDefinitions);
     if (in_array('_extend', $services)) {
         unset($services[array_search('_extend', $services)]);
     }
     return ArrayIterator($services);
 }
Beispiel #3
0
 /**
  * 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));
 }