public function boot() { if ($this->booted) { return; } $this->booting = true; $this->registerProviders(); foreach ($this->configurators as $configurator) { $this->invokeConfigurator($configurator); } $this->resolveStack(); $this->booted = true; }
/** * {@inheritdoc} */ public function setUp() { $this->app = $this->createApplication(); $this->app->setEnvironment('testing'); $this->app->boot(); $this->app->getErrorHandler()->setRethrow(true); }