doctrine/doctrine2 — pull request #249 by beberlei (2012-01-02 20:35:34+00:00)
Title: [DCOM-93] Remove Reflection dependency from ClassMetadata

The Reflection dependency leads to the annoying problem that we have the ClassMetadata deriving from ClassMetadataInfo. This is very bad OO code and has lead to problems on multiple occasions.

This PR removes the dependency by injecting a reflection service, which can be a Static Service not requiring the classes to exist.