芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/lot.mgaplay.com.br/vendor/mongodb/mongodb/src/Model/CallbackIterator.php
iterator = $traversable instanceof Iterator ? $traversable : new IteratorIterator($traversable); $this->callback = $callback; } /** * @see http://php.net/iterator.current * @return mixed */ #[ReturnTypeWillChange] public function current() { return ($this->callback)($this->iterator->current()); } /** * @see http://php.net/iterator.key * @return mixed */ #[ReturnTypeWillChange] public function key() { return $this->iterator->key(); } /** * @see http://php.net/iterator.next * @return void */ #[ReturnTypeWillChange] public function next() { $this->iterator->next(); } /** * @see http://php.net/iterator.rewind * @return void */ #[ReturnTypeWillChange] public function rewind() { $this->iterator->rewind(); } /** * @see http://php.net/iterator.valid * @return boolean */ #[ReturnTypeWillChange] public function valid() { return $this->iterator->valid(); } }