public function configureRoutes() { $routesFile = $this->getAppConfig()['core']['configDir'] . $this->getAppConfig()['core']['routesFile']; $routeParser = new RouteParser($routesFile); $routeParser->parse(); return $this; }