Laravel\Lumen\Application::bootstrapContainer PHP Method

bootstrapContainer() protected method

Bootstrap the application container.
protected bootstrapContainer ( ) : void
return void
    protected function bootstrapContainer()
    {
        static::setInstance($this);
        $this->instance('app', $this);
        $this->instance('Laravel\\Lumen\\Application', $this);
        $this->instance('path', $this->path());
        $this->registerContainerAliases();
    }

Usage Example

Exemplo n.º 1
0
 /**
  * Bootstrap the application container.
  *
  * @return void
  */
 protected function bootstrapContainer()
 {
     parent::bootstrapContainer();
     $this->registerBernardProvider();
     $this->registerDoctrineProvider();
     $this->registerTacticianProvider();
     $this->registerJwtAuthServiceProvider();
     $this->registerSyndraServiceProvider();
 }