original_string: public function createService(ServiceLocatorInterface $serviceLocator)
      {
          $em = new EventManager();
          $em->setSharedManager($serviceLocator->get('SharedEventManager'));
  
          return $em;
      }
code: public function createService(ServiceLocatorInterface $serviceLocator)
      {
          $em = new EventManager();
          $em->setSharedManager($serviceLocator->get('SharedEventManager'));
  
          return $em;
      }
code_tokens: public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ em = new EventManager ( ) ; $ em -> setSharedManager ( $ serviceLocator -> get ( 'SharedEventManager' ) ) ; return $ em ; }
docstring: Create an EventManager instance.
  
  Creates a new EventManager instance, seeding it with a shared instance
  of SharedEventManager.
  
  @param ServiceLocatorInterface $serviceLocator
  
  @return EventManager
docstring_tokens: Create an EventManager instance .