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;
    }