DDC-558: AnnotationDriver private property _reader forbids subclassing #693

Closed
opened 2026-01-22 12:46:59 +01:00 by admin · 2 comments
Owner

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.

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.
admin added the Bug label 2026-01-22 12:46:59 +01:00
admin closed this issue 2026-01-22 12:47:01 +01:00
Author
Owner

@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): 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.
Author
Owner

@doctrinebot commented on GitHub (Apr 30, 2010):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Apr 30, 2010): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#693