original_string: public function onBootstrap($e)
      {
          $eventManager   = $e->getApplication()->getEventManager();
          $serviceManager = $e->getApplication()->getServiceManager();
          $options        = $serviceManager->get('dlcdoctrine_module_options');
          
          if ($options->getEnableAutoFlushFinishListener()) {
              $serviceManager->get('dlcdoctrine_event_finishlistener')
                             ->attach($eventManager);
          }
      }
code: public function onBootstrap($e)
      {
          $eventManager   = $e->getApplication()->getEventManager();
          $serviceManager = $e->getApplication()->getServiceManager();
          $options        = $serviceManager->get('dlcdoctrine_module_options');
          
          if ($options->getEnableAutoFlushFinishListener()) {
              $serviceManager->get('dlcdoctrine_event_finishlistener')
                             ->attach($eventManager);
          }
      }
code_tokens: public function onBootstrap ( $ e ) { $ eventManager = $ e -> getApplication ( ) -> getEventManager ( ) ; $ serviceManager = $ e -> getApplication ( ) -> getServiceManager ( ) ; $ options = $ serviceManager -> get ( 'dlcdoctrine_module_options' ) ; if ( $ options -> getEnableAutoFlushFinishListener ( ) ) { $ serviceManager -> get ( 'dlcdoctrine_event_finishlistener' ) -> attach ( $ eventManager ) ; } }
docstring: Registering module-specific listeners
  
  @param  \Zend\Mvc\MvcEvent $e The MvcEvent instance
  @return void
docstring_tokens: Registering module - specific listeners