luya\base\Boot::applicationWeb PHP Method

applicationWeb() public method

Run Web-Application based on the provided config file.
public applicationWeb ( ) : string
return string Returns the Yii Application run() method if mock is disabled. Otherwise returns void
    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();
        }
    }