private function loadApplication()
    {
        $app = require $this->module->config['bootstrap_file'];
        $app->loadEnvironmentFrom($this->module->config['environment_file']);
        $app->instance('request', new Request());

        return $app;
    }
private function loadApplication()
    {
        $app = require $this->module->config['bootstrap_file'];
        $app->loadEnvironmentFrom($this->module->config['environment_file']);
        $app->instance('request', new Request());

        return $app;
    }
private function loadApplication ( ) { $ app = require $ this -> module -> config [ 'bootstrap_file' ] ; $ app -> loadEnvironmentFrom ( $ this -> module -> config [ 'environment_file' ] ) ; $ app -> instance ( 'request' , new Request ( ) ) ; return $ app ; }
Boot the Laravel application object.
@return Application
@throws ModuleConfig
Boot the Laravel application object .