There was an error while loading. Please reload this page.
1 parent c7803d3 commit 234e021Copy full SHA for 234e021
book/internals/event_dispatcher.rst
@@ -409,7 +409,7 @@ and ``onStoreOrder`` events:
409
410
This is very similar to a listener class, except that the class itself can
411
tell the dispatcher which events it should listen to. To register a subscriber
412
-with the dispatcher, use the ``addSubscriberMethod`` method:
+with the dispatcher, use the :method:``Symfony\Component\EventDispatcher\EventDispatcher::addSubscriber`` method:
413
414
.. code-block:: php
415
0 commit comments