Skip to content

Commit 525a969

Browse files
committed
Merge pull request #261 from saadtazi/internals_event_dispatcher_typo
fixed method name: addSubscriberMethod should be addSubscriber
2 parents 0ecd341 + 234e021 commit 525a969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/internals/event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ and ``onStoreOrder`` events:
409409
410410
This is very similar to a listener class, except that the class itself can
411411
tell the dispatcher which events it should listen to. To register a subscriber
412-
with the dispatcher, use the ``addSubscriberMethod`` method:
412+
with the dispatcher, use the :method:``Symfony\Component\EventDispatcher\EventDispatcher::addSubscriber`` method:
413413

414414
.. code-block:: php
415415

0 commit comments

Comments
 (0)