zendframework/zf2 — pull request #1681 by weierophinney (2012-06-29 16:15:09+00:00)
Title: Feature/doctrine annotations

This PR does several things:

- Introduces a dependency on doctrine/common for Zend\Code\Annotation
- Refactors Zend\Code\Annotation to create an AnnotationManager that can attach many annotation parsers.
- Introduces a DoctrineAnnotationParser that delegates to Doctrine\Common\Annotations\DocParser in order to parse and return an annotation
- Introduces GenericAnnotationParser, which handles annotations as was done previously in ZF2
- Refactors Zend\Code and Zend\Form to follow the new annotation manager changes.