From 4dcb17eeb3f20d8157e3f01df787ac9abc6b6754 Mon Sep 17 00:00:00 2001 From: "A. Pauly" Date: Thu, 20 Apr 2017 19:41:53 +0200 Subject: [PATCH] Update introduction.rst There is a mistake with the event name. --- components/event_dispatcher/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/event_dispatcher/introduction.rst b/components/event_dispatcher/introduction.rst index 9311ad9dc75..3f46b0d1b56 100644 --- a/components/event_dispatcher/introduction.rst +++ b/components/event_dispatcher/introduction.rst @@ -166,7 +166,7 @@ The ``addListener()`` method takes up to three arguments: }); Once a listener is registered with the dispatcher, it waits until the event -is notified. In the above example, when the ``foo.action`` event is dispatched, +is notified. In the above example, when the ``acme.action`` event is dispatched, the dispatcher calls the ``AcmeListener::onFooAction()`` method and passes the ``Event`` object as the single argument::