diff --git a/components/event_dispatcher.rst b/components/event_dispatcher.rst index 6cfff941a4f..6c472d90e97 100644 --- a/components/event_dispatcher.rst +++ b/components/event_dispatcher.rst @@ -404,7 +404,7 @@ from being called. In other words, the listener needs to be able to tell the dispatcher to stop all propagation of the event to future listeners (i.e. to not notify any more listeners). This can be accomplished from inside a listener via the -:method:`Symfony\\Component\\EventDispatcher\\Event::stopPropagation` method:: +:method:`Symfony\\Contracts\\EventDispatcher\\Event::stopPropagation` method:: use Acme\Store\Event\OrderPlacedEvent;