Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to customize the listener priorities #384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olivermack
Copy link

by setting a numeric value in the config.

In the current implementation it is not possible to adjust the default/hardcoded listener priorities anyhow. Thus, as an example, the loggable listener creates a LogEntry before the blameable and/or timestample behaviors adjusts the respective fields.
If one wants to store those fields in the LogEntry as well there was no chance.

With this PR one set a numeric value to the configured behaviors in addition to just set it to true. This does not only allow to define custom priorities for those listeners which are registered without any, it also allows to override the hardcoded values of the StofDoctrineExtensionsExtension class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants