Skip to content

Commit 7bf2aae

Browse files
authored
Update event_dispatcher.rst
Adding a space before deep links.
1 parent 059a051 commit 7bf2aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/event_dispatcher.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,9 @@ is notified each time those events are dispatched.
331331

332332
Another way to listen to events is via an *event subscriber*. An event
333333
subscriber is a PHP class that's able to tell the dispatcher exactly which
334-
events it should subscribe to. It implements the
334+
events it should subscribe to. It implements the
335335
:class:`Symfony\\Component\\EventDispatcher\\EventSubscriberInterface`
336-
interface, which requires a single static method called
336+
interface, which requires a single static method called
337337
:method:`Symfony\\Component\\EventDispatcher\\EventSubscriberInterface::getSubscribedEvents`.
338338
Take the following example of a subscriber that subscribes to the
339339
``kernel.response`` and ``order.placed`` events::
@@ -408,7 +408,7 @@ In some cases, it may make sense for a listener to prevent any other listeners
408408
from being called. In other words, the listener needs to be able to tell
409409
the dispatcher to stop all propagation of the event to future listeners
410410
(i.e. to not notify any more listeners). This can be accomplished from
411-
inside a listener via the
411+
inside a listener via the
412412
:method:`Symfony\\Contracts\\EventDispatcher\\Event::stopPropagation` method::
413413

414414
use Acme\Store\Event\OrderPlacedEvent;

0 commit comments

Comments
 (0)