Inheritance: implements Iterato\Iterator
Ejemplo n.º 1
0
 public function valid()
 {
     if (!$this->skipped) {
         for ($i = 0; $i < $this->skipCount; ++$i) {
             $this->iterator->next();
         }
         $this->skipped = true;
     }
     return parent::valid();
 }
Ejemplo n.º 2
0
 public function __construct(Iterator $iterator, $function)
 {
     parent::__construct($iterator);
     $this->function = $function;
 }