예제 #1
0
파일: Config.php 프로젝트: kstep/pnut
 public function getIterator()
 {
     return ArrayIterator($this->_config);
 }
예제 #2
0
 public function getIterator()
 {
     $services = array_keys($this->_containerServicesDefinitions);
     if (in_array('_extend', $services)) {
         unset($services[array_search('_extend', $services)]);
     }
     return ArrayIterator($services);
 }
예제 #3
0
파일: Range.php 프로젝트: asherwunk/primus2
 /**
  * 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));
 }