Skip to content

[DCOM-93] Remove Reflection dependency from ClassMetadata#249

Merged
beberlei merged 8 commits into2.2from
DCOM-93
Jan 3, 2012
Merged

[DCOM-93] Remove Reflection dependency from ClassMetadata#249
beberlei merged 8 commits into2.2from
DCOM-93

Conversation

@beberlei
Copy link
Member

@beberlei beberlei commented Jan 2, 2012

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't you typehint the interface (as done in the phpdoc) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants