Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doctrine/event_listeners_subscribers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ managers that use this connection.
->addTag('doctrine.event_subscriber', ['connection' => 'default'])
;

.. tip::

If you're using Doctrine with MongoDB, you should use ``doctrine_mongodb.odm.event_listener``
as the tag name for the event listener service.

Creating the Listener Class
---------------------------

Expand Down