DDC-76: LazyLoad Creation of AnnotationDriver from Configuration Constructor into Getter #88

Open
opened 2026-01-22 12:26:43 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 29, 2009).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

\Doctrine\ORM\Configuration creates an AnnotationDriver by default in the constructor.

However the documentation says this parameter is required and not optional.

In any case, the constructor creation could be moved into the getMetadataDriverImpl() as a lazy load, for this case the patch is attached.

Originally created by @doctrinebot on GitHub (Oct 29, 2009). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: \Doctrine\ORM\Configuration creates an AnnotationDriver by default in the constructor. However the documentation says this parameter is required and not optional. In any case, the constructor creation could be moved into the getMetadataDriverImpl() as a lazy load, for this case the patch is attached.
admin added the Bug label 2026-01-22 12:26:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#88