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