route = $route; $this->request_method = $request_method; $this->request_uri = $request_uri; //echo "DEBUG " . __CLASS__ . ": controller instanced
" . PHP_EOL; HooksManager::applyHook('webcontroller__init', [$this]); } public function getRoute() { return $this->route; } public function getRequestMethod() { return $this->request_method; } public function getRequestUri() { return $this->request_uri; } }