[PR #5702] Update ClassMetadataInfo #9698

Open
opened 2026-01-22 16:05:08 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/5702

State: closed
Merged: No


Some times when I am listening to loadClassMetada event the reflClass attribute of ClassMetadata is null. I have found in the doctrine doc this code ( http://www.doctrine-project.org/api/orm/2.5/source-class-Doctrine.ORM.Mapping.ClassMetadataInfo.html#_getReflectionClass ) but when I check the code of vendors and github repo I did not find the same that fix my error. That is the reason that I have done this PR.

some idea why is not the same?

**Original Pull Request:** https://github.com/doctrine/orm/pull/5702 **State:** closed **Merged:** No --- Some times when I am listening to loadClassMetada event the reflClass attribute of ClassMetadata is null. I have found in the doctrine doc this code ( http://www.doctrine-project.org/api/orm/2.5/source-class-Doctrine.ORM.Mapping.ClassMetadataInfo.html#_getReflectionClass ) but when I check the code of vendors and github repo I did not find the same that fix my error. That is the reason that I have done this PR. some idea why is not the same?
admin added the pull-request label 2026-01-22 16:05:08 +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#9698