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

Add section for Messenger integration #637

Merged
merged 1 commit into from
Jun 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
8 changes: 8 additions & 0 deletions Resources/doc/messenger.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Messenger Integration
=====================

When using Symfony 4.4 or later, the bundle automatically registers a `Messenger`_
event subscriber that clears all document managers after handling messages, which
helps to isolate each handler and guard against reading out-of-date document data.

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