public function boot()
  {
    //start the session
    $this->session = Session::getInstance();
    // create the container instance
    $this->container = new AppContainer;    
    //boot the app and registers any middlewhere
    $this->container->addServiceProvider(new ServiceProvider($this)); 
  }
public function boot()
  {
    //start the session
    $this->session = Session::getInstance();
    // create the container instance
    $this->container = new AppContainer;    
    //boot the app and registers any middlewhere
    $this->container->addServiceProvider(new ServiceProvider($this)); 
  }
public function boot ( ) { //start the session $ this -> session = Session :: getInstance ( ) ; // create the container instance $ this -> container = new AppContainer ; //boot the app and registers any middlewhere $ this -> container -> addServiceProvider ( new ServiceProvider ( $ this ) ) ; }
Application boot method. Loads the app providers and sets some default application variables
@return void
Application boot method . Loads the app providers and sets some default application variables