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();
    }