[PR #922] Two hooks for DoctrineBundle to allow ContainerFilterCollection #8903

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

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

State: closed
Merged: No


Allows the DoctrineBundle to inject a ContainerFilterCollection that creates filters through dependency injection. See doctrine/DoctrineBundle#245.

Would prefer to inject the FilterCollection into the constructor of the em, but since they have a cyclic dependency I chose setter injection.

**Original Pull Request:** https://github.com/doctrine/orm/pull/922 **State:** closed **Merged:** No --- Allows the DoctrineBundle to inject a `ContainerFilterCollection` that creates filters through dependency injection. See doctrine/DoctrineBundle#245. Would prefer to inject the `FilterCollection` into the constructor of the em, but since they have a cyclic dependency I chose setter injection.
admin added the pull-request label 2026-01-22 16:02:14 +01:00
admin closed this issue 2026-01-22 16:02:15 +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#8903