Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the class hierarchy discovery protected #57

Closed
wants to merge 1 commit into from

Conversation

dominics
Copy link

@dominics dominics commented Jul 6, 2015

This allows subclasses to extend/override the behaviour when finding a class hierarchy from a class name, without reimplementing getMetadataForClass().

This doesn't necessarily imply these methods are part of a stable API - you might use something like Symfony's @api to do so in the future, if you want to make it clear that protected APIs aren't considered part of the stable API. (This is a nice description of that approach.)

This is one way to fix #54

This allows subclasses to extend/override the behaviour when finding a
class hierarchy from a class name, without reimplementing
getMetadataForClass().

This doesn't necessarily imply these methods are part of a stable API.
@dominics dominics closed this Mar 8, 2020
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.

RFC: Private visibility on MetadataFactory
1 participant