示例#1
0
 protected function bootApp()
 {
     if (!$this->booted) {
         $this->app->setConfig(['parameters' => ['facade.aliases' => $this->aliases]]);
         if ($this->isServiceLocatorSet) {
             $this->app->addBundle($this->getFacadeBundle());
             //$this->app->register($this->getFacadeProvider(), ['facade.aliases' => $this->aliases]);
         }
         $this->app->boot();
         //handle(Request::createFromGlobals());
         $this->booted = true;
     }
 }