callable = $callable; } public function current() { return call_user_func( $this->callable, $this->iterator->current() ); } }