mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-558: AnnotationDriver private property _reader forbids subclassing #693
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Apr 29, 2010).
Jira issue originally created by user merk:
I have a requirement to provide additional Annotations, and am in the process of subclassing the AnnotationDriver to provide this functionality.
The private _reader property disallows its use in a subclass - It would be nice if this property was protected, or a getReader() method was provided.
@doctrinebot commented on GitHub (Apr 30, 2010):
Comment created by @beberlei:
the reader is passed as a required dependency to the constructor of the Annotation Driver.
When you construct the reader yourself you can easily re-use it by adding other namespaces.
@doctrinebot commented on GitHub (Apr 30, 2010):
Issue was closed with resolution "Invalid"