src/DoctrineServiceProvider.php
protected function bootExtensionManager()
    {
        $manager = $this->app->make(ExtensionManager::class);

        if ($manager->needsBooting()) {
            $this->app['events']->dispatch('doctrine.extensions.booting');

            $this->app->make(ExtensionManager::class)->boot(
                $this->app['registry']
            );

            $this->app['events']->dispatch('doctrine.extensions.booted');
        }
    }
protected function bootExtensionManager()
    {
        $manager = $this->app->make(ExtensionManager::class);

        if ($manager->needsBooting()) {
            $this->app['events']->dispatch('doctrine.extensions.booting');

            $this->app->make(ExtensionManager::class)->boot(
                $this->app['registry']
            );

            $this->app['events']->dispatch('doctrine.extensions.booted');
        }
    }
protected function bootExtensionManager ( ) { $ manager = $ this -> app -> make ( ExtensionManager :: class ) ; if ( $ manager -> needsBooting ( ) ) { $ this -> app [ 'events' ] -> dispatch ( 'doctrine.extensions.booting' ) ; $ this -> app -> make ( ExtensionManager :: class ) -> boot ( $ this -> app [ 'registry' ] ) ; $ this -> app [ 'events' ] -> dispatch ( 'doctrine.extensions.booted' ) ; } }
Boots the extension manager at the appropriate time depending on if the app
is running as Laravel HTTP, Lumen HTTP or in a console environment
Boots the extension manager at the appropriate time depending on if the app is running as Laravel HTTP Lumen HTTP or in a console environment