-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Description
| Q | A |
|---|---|
| Bug report? | no |
| Feature request? | yes |
| BC Break report? | no |
| RFC? | no |
| Symfony version | 4.1 |
Hi, in my project, I need to disable message dispatching for some edge-cases. For exemple, when loading data-fixtures, I need to disable mail delivery (welcome mails are sent on Doctrine persist event). For that, I use a processor with AliceFixture, and this processor enable or disable a middleware in charge of dropping the messages. Do you think that this middleware could be useful for someone else and should be embedded with the component?