public function routeClose() { $this->processHooks($this->hooks['after']); if ($this->profiling_enabled) { $this->logProfiling($this->running_route); } }