상속: implements Iterato\Iterator
예제 #1
0
 public function valid()
 {
     if (!$this->skipped) {
         for ($i = 0; $i < $this->skipCount; ++$i) {
             $this->iterator->next();
         }
         $this->skipped = true;
     }
     return parent::valid();
 }
예제 #2
0
 public function __construct(Iterator $iterator, $function)
 {
     parent::__construct($iterator);
     $this->function = $function;
 }