[PR #11925] Fix ClassMetadata::fullyQualifiedClassName #13341

Closed
opened 2026-01-22 16:16:51 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: No


Fix for cases like as:
entity class in namespace X, listener class in global namespace and passed as ::class constant (#[\Doctrine\ORM\Mapping\EntityListeners([\ProductImageFile::class])]). In this case PHP convert class name to ProductImageFile when pass to EntityListeners::__construct().

**Original Pull Request:** https://github.com/doctrine/orm/pull/11925 **State:** closed **Merged:** No --- Fix for cases like as: entity class in namespace X, listener class in global namespace and passed as ::class constant (`#[\Doctrine\ORM\Mapping\EntityListeners([\ProductImageFile::class])]`). In this case PHP convert class name to `ProductImageFile` when pass to `EntityListeners::__construct()`.
admin added the pull-request label 2026-01-22 16:16:51 +01:00
admin closed this issue 2026-01-22 16:16:52 +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#13341