mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2004: Allowing objects as filters #2529
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Aug 31, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user bamarni:
Hi,
Is there a particular reason why we can only add filter class names in the orm config and not objects?
For example when using the orm with symfony2 it would allow to use services as filters, currently I guess we have to manually get the filter from the em and set the needed dependencies.
If you're interested by this I can work on a PR in the orm to allow setting a filter with both an object or a class, and then retrieving or creating it in the FilterCollection enable method.
Bilal
@doctrinebot commented on GitHub (Jan 26, 2013):
Comment created by gimler:
can be closed allready in master
@doctrinebot commented on GitHub (Jan 26, 2013):
Issue was closed with resolution "Invalid"