There was an error while loading. Please reload this page.
2 parents 0ecd341 + 234e021 commit 525a969Copy full SHA for 525a969
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