Laravel\Lumen\Application::bootstrapContainer PHP Méthode

bootstrapContainer() protected méthode

Bootstrap the application container.
protected bootstrapContainer ( ) : void
Résultat 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

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