File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 564564:class: `Symfony\\ Component\\ Notifier\\ Notification\\ EmailNotificationInterface `
565565also exists to modify messages send to those channels.
566566
567+ Development & Debugging
568+ -----------------------
569+
570+ Disabling Delivery
571+ ~~~~~~~~~~~~~~~~~~
572+
573+ While developing (or testing), you may want to disable delivery of notifications entirely.
574+ You can do this by forcing Notifier to use the ``NullTransport `` for all configured texter
575+ and chatter transports in only the ``dev `` environment:
576+
577+ .. code-block :: yaml
578+
579+ # config/packages/dev/notifier.yaml
580+ framework :
581+ notifier :
582+ texter_transports :
583+ twilio : ' null://null'
584+ chatter_transports :
585+ slack : ' null://null'
586+
567587.. TODO
568588 - Using the message bus for asynchronous notification
569589 - Describe notifier monolog handler
You can’t perform that action at this time.
0 commit comments