/**
  * Create service
  *
  * @param  ServiceLocatorInterface $serviceLocator
  * @return ProcessorPluginManager
  */
 public function createService(ServiceLocatorInterface $serviceLocator)
 {
     $config = $serviceLocator->get('Config');
     if (!isset($config[self::OPTIONS_KEY])) {
         $config[self::OPTIONS_KEY] = [];
     }
     $managerOptions = new Config($config[self::OPTIONS_KEY]);
     $processorManager = new ProcessorPluginManager($managerOptions);
     $processorManager->setServiceLocator($serviceLocator);
     return $processorManager;
 }