/** * Запускает роутер * * @return void */ public function route() { $this->router = new Router(); $this->router->config = $this->config; $this->router->run(); }