Allow setting priority on listeners/subscribers #5052

Closed
opened 2026-01-22 14:57:21 +01:00 by admin · 2 comments
Owner

Originally created by @Wilt on GitHub (Mar 11, 2016).

Originally assigned to: @Ocramius on GitHub.

I am not sure since it is hard to find any documentation on this. But it seems like both the Listeners and the Subscribers don't allow to set a priority. This would be a very useful addition.

If it is somehow possible to do this it would be good to add an example to the documentation.

Originally created by @Wilt on GitHub (Mar 11, 2016). Originally assigned to: @Ocramius on GitHub. I am not sure since it is hard to find any documentation on this. But it seems like both the Listeners and the Subscribers don't allow to set a priority. This would be a very useful addition. If it is somehow possible to do this it would be good to add an example to the documentation.
admin added the New FeatureInvalid labels 2026-01-22 14:57:21 +01:00
admin closed this issue 2026-01-22 14:57:21 +01:00
Author
Owner

@Ocramius commented on GitHub (Mar 11, 2016):

It is not supported by our event system. If you need to support this, wrap your event handlers in a "priority-aware" event handler.

If you need this sort of functionality, consider providing a more extensive feature request in https://github.com/doctrine/common/issues

@Ocramius commented on GitHub (Mar 11, 2016): It is not supported by our event system. If you need to support this, wrap your event handlers in a "priority-aware" event handler. If you need this sort of functionality, consider providing a more extensive feature request in https://github.com/doctrine/common/issues
Author
Owner

@Wilt commented on GitHub (Mar 11, 2016):

OK thanks!

@Wilt commented on GitHub (Mar 11, 2016): OK thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5052