Skip to content

Commit

Permalink
Add section for Messenger integration
Browse files Browse the repository at this point in the history
  • Loading branch information
malarzm committed Jun 3, 2020
1 parent cd0dd9d commit 04499e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Resources/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ helping you to configure and use it in your application.
first_steps
form_validation
security_bundle
messenger
events
console
cookbook/registration_form
Expand Down
11 changes: 11 additions & 0 deletions Resources/doc/messenger.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Messenger integration
=====================

The bundle automatically registers a `Messenger`_ middleware that clears
document managers between messages being handled to avoid outdated data.

.. note::

The middleware is available when using Symfony 4.4 or newer

.. _`Messenger`: https://symfony.com/doc/current/components/messenger.html

0 comments on commit 04499e6

Please sign in to comment.