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

Closed
opened 2026-01-22 12:26:46 +01:00 by admin · 3 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:46 +01:00
admin closed this issue 2026-01-22 12:26:46 +01:00
Author
Owner

@doctrinebot commented on GitHub (Nov 3, 2009):

Comment created by @beberlei:

Fixed

@doctrinebot commented on GitHub (Nov 3, 2009): Comment created by @beberlei: Fixed
Author
Owner

@doctrinebot commented on GitHub (Nov 3, 2009):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Nov 3, 2009): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Dec 13, 2015):

Imported 1 attachments from Jira into https://gist.github.com/16f3241c86ab0064c243

@doctrinebot commented on GitHub (Dec 13, 2015): Imported 1 attachments from Jira into https://gist.github.com/16f3241c86ab0064c243 - [10119_doctrine_ormconfig_def_andriver.diff](https://gist.github.com/16f3241c86ab0064c243#file-10119_doctrine_ormconfig_def_andriver-diff)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#91