nelmio/NelmioApiDocBundle — pull request #53 by evillemez (2012-07-23 17:02:16+00:00)
Title: Implemented `ParserInterface`

This adds a `ParserInterface` for parsers to implement, and refactoring in the `ApiDocExtractor` to now handle multiple class parsers.

*BC Break*: the `formType` ApiDoc parameter is now known as `inputClass`.

Parsers are now automatically registered in a compiler pass when they declare the tag `nelmio_api_doc.extractor.class_parser`.

This PR is the groundwork for supporting a `JmsMetadataParser` in order to close [issue #12](https://github.com/nelmio/NelmioApiDocBundle/issues/12).