public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $pluginManagerClass = static::PLUGIN_MANAGER_CLASS;
        /* @var $plugins \Zend\ServiceManager\AbstractPluginManager */
        $plugins = new $pluginManagerClass();
        $plugins->setServiceLocator($serviceLocator);

        return $plugins;
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $pluginManagerClass = static::PLUGIN_MANAGER_CLASS;
        /* @var $plugins \Zend\ServiceManager\AbstractPluginManager */
        $plugins = new $pluginManagerClass();
        $plugins->setServiceLocator($serviceLocator);

        return $plugins;
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ pluginManagerClass = static :: PLUGIN_MANAGER_CLASS ; /* @var $plugins \Zend\ServiceManager\AbstractPluginManager */ $ plugins = new $ pluginManagerClass ( ) ; $ plugins -> setServiceLocator ( $ serviceLocator ) ; return $ plugins ; }
Create and return a plugin manager.
Classes that extend this should provide a valid class for
the PLUGIN_MANGER_CLASS constant.

@param ServiceLocatorInterface $serviceLocator

@return \Zend\ServiceManager\AbstractPluginManager
Create and return a plugin manager . Classes that extend this should provide a valid class for the PLUGIN_MANGER_CLASS constant .