[PR #10701] Introduce convenience methods to narrow types #12552

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

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

State: closed
Merged: Yes


These methods assert the type of the mapping provided by the collection according to the name of the class they are in: the one to many persister only ever deals with one to many associations, and the many to many persister only ever deals with many to many associations.

**Original Pull Request:** https://github.com/doctrine/orm/pull/10701 **State:** closed **Merged:** Yes --- These methods assert the type of the mapping provided by the collection according to the name of the class they are in: the one to many persister only ever deals with one to many associations, and the many to many persister only ever deals with many to many associations.
admin added the pull-request label 2026-01-22 16:14:25 +01:00
admin closed this issue 2026-01-22 16:14:25 +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#12552