callback = $callback; } public function current() { return call_user_func($this->callback, parent::current()); } }