We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb5a47 commit bb17e67Copy full SHA for bb17e67
src/DoctrineServiceProvider.php
@@ -43,9 +43,7 @@ public function boot()
43
{
44
$this->extendAuthManager();
45
46
- $this->app->booted(function () {
47
- $this->bootExtensionManager();
48
- });
+ $this->bootExtensionManager();
49
50
if (!$this->isLumen()) {
51
$this->publishes([
@@ -236,7 +234,11 @@ protected function extendAuthManager()
236
234
*/
237
235
protected function bootExtensionManager()
238
+ $this->app['events']->fire('doctrine.extensions.booting');
+
239
$this->app->make(ExtensionManager::class)->boot();
240
241
+ $this->app['events']->fire('doctrine.extensions.booted');
242
}
243
244
/**
0 commit comments