boot() публичный Метод

Bootstrap the application events.
public boot ( ) : void
Результат void
Пример #1
0
 /**
  * Set up the tests
  */
 public function setUp()
 {
     parent::setUp();
     // Bind Polyglot classes
     $provider = new PolyglotServiceProvider($this->app);
     $provider->register();
     $provider->boot();
     $this->app['translator'] = $this->app['polyglot.translator'];
     // Configure facades
     Config::setFacadeApplication($this->app);
 }