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