original_string: public function createService(ServiceLocatorInterface $serviceLocator)
      {
          $annotationManager = new AnnotationManager();
  
          $parser = new DoctrineAnnotationParser();
  
          foreach ($this->defaultAnnotations as $annotationName) {
              $class = 'TjoAnnotationRouter\\Annotation\\' . $annotationName;
              $parser->registerAnnotation($class);
          }
  
          $annotationManager->attach($parser);
  
          return $annotationManager;
      }
code: public function createService(ServiceLocatorInterface $serviceLocator)
      {
          $annotationManager = new AnnotationManager();
  
          $parser = new DoctrineAnnotationParser();
  
          foreach ($this->defaultAnnotations as $annotationName) {
              $class = 'TjoAnnotationRouter\\Annotation\\' . $annotationName;
              $parser->registerAnnotation($class);
          }
  
          $annotationManager->attach($parser);
  
          return $annotationManager;
      }
code_tokens: public function createService ( ServiceLocatorInterface $ serviceLocator ) { $ annotationManager = new AnnotationManager ( ) ; $ parser = new DoctrineAnnotationParser ( ) ; foreach ( $ this -> defaultAnnotations as $ annotationName ) { $ class = 'TjoAnnotationRouter\\Annotation\\' . $ annotationName ; $ parser -> registerAnnotation ( $ class ) ; } $ annotationManager -> attach ( $ parser ) ; return $ annotationManager ; }
docstring: Returns a configured instance of Zend\Code\Annotation\AnnotationManager
  
  @return AnnotationManager
docstring_tokens: Returns a configured instance of Zend \ Code \ Annotation \ AnnotationManager