public function applicationWeb() { $config = $this->getConfigArray(); $this->includeYii(); $this->app = new WebApplication(ArrayHelper::merge(['bootstrap' => ['luya\\web\\Bootstrap']], $config)); if (!$this->mockOnly) { return $this->app->run(); } }