protected function execWebApp()
    {
        $config = $this->getConfigArray();
        $container = new Container(["settings" => $config]);
        $app = new App($container);
        $this->setupDependencies($container);
        $this->setupMiddlewares($app, $container);
        $this->setupErrorHandler($container);
        $this->setupRoutes($app, $container);
        $app->run();
    }
protected function execWebApp()
    {
        $config = $this->getConfigArray();
        $container = new Container(["settings" => $config]);
        $app = new App($container);
        $this->setupDependencies($container);
        $this->setupMiddlewares($app, $container);
        $this->setupErrorHandler($container);
        $this->setupRoutes($app, $container);
        $app->run();
    }
protected function execWebApp ( ) { $ config = $ this -> getConfigArray ( ) ; $ container = new Container ( [ "settings" => $ config ] ) ; $ app = new App ( $ container ) ; $ this -> setupDependencies ( $ container ) ; $ this -> setupMiddlewares ( $ app , $ container ) ; $ this -> setupErrorHandler ( $ container ) ; $ this -> setupRoutes ( $ app , $ container ) ; $ app -> run ( ) ; }
Executes a web application
Executes a web application