public function onBootstrap(EventInterface $e)
    {
        /* @var $e \Zend\Mvc\MvcEvent */
        $serviceManager = $e->getApplication()->getServiceManager();
        /* @var $serviceManager \Zend\ServiceManager\ServiceManager */

        $this->initPluginManagerFactory(
            $serviceManager,
            __NAMESPACE__ . '\SupervisorManager',
            'supervisor_plugin_manager'
        );

        $this->initPluginManagerFactory(
            $serviceManager,
            __NAMESPACE__ . '\ListenerManager',
            'listener_plugin_manager'
        );
    }
public function onBootstrap(EventInterface $e)
    {
        /* @var $e \Zend\Mvc\MvcEvent */
        $serviceManager = $e->getApplication()->getServiceManager();
        /* @var $serviceManager \Zend\ServiceManager\ServiceManager */

        $this->initPluginManagerFactory(
            $serviceManager,
            __NAMESPACE__ . '\SupervisorManager',
            'supervisor_plugin_manager'
        );

        $this->initPluginManagerFactory(
            $serviceManager,
            __NAMESPACE__ . '\ListenerManager',
            'listener_plugin_manager'
        );
    }
public function onBootstrap ( EventInterface $ e ) { /* @var $e \Zend\Mvc\MvcEvent */ $ serviceManager = $ e -> getApplication ( ) -> getServiceManager ( ) ; /* @var $serviceManager \Zend\ServiceManager\ServiceManager */ $ this -> initPluginManagerFactory ( $ serviceManager , __NAMESPACE__ . '\SupervisorManager' , 'supervisor_plugin_manager' ) ; $ this -> initPluginManagerFactory ( $ serviceManager , __NAMESPACE__ . '\ListenerManager' , 'listener_plugin_manager' ) ; }
Bootstrap the module

Register the supervisor plugin manager

@param EventInterface $e
@return array
Bootstrap the module