Skip to content

Commit 041cf46

Browse files
committed
unify event subscriber usages
1 parent 3ddf539 commit 041cf46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/event_dispatcher/container_aware_dispatcher.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Adding Listeners
3232
----------------
3333

3434
The *Container Aware Event Dispatcher* can either load specified services
35-
directly, or services that implement :class:`Symfony\\Component\\EventDispatcher\\EventSubscriberInterface`.
35+
directly or services that implement the :class:`Symfony\\Component\\EventDispatcher\\EventSubscriberInterface`.
3636

3737
The following examples assume the service container has been loaded with any
3838
services that are mentioned.
@@ -53,7 +53,7 @@ method where the ``$callback`` is an array of ``array($serviceId, $methodName)``
5353
Adding Subscriber Services
5454
~~~~~~~~~~~~~~~~~~~~~~~~~~
5555

56-
``EventSubscribers`` can be added using the
56+
Event subscribers can be added using the
5757
:method:`Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher::addSubscriberService`
5858
method where the first argument is the service ID of the subscriber service,
5959
and the second argument is the service's class name (which must implement
@@ -64,7 +64,7 @@ and the second argument is the service's class name (which must implement
6464
'StoreSubscriber'
6565
);
6666

67-
The ``EventSubscriberInterface`` will be exactly as you would expect::
67+
The ``EventSubscriberInterface`` is exactly as you would expect::
6868

6969
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
7070
// ...

0 commit comments

Comments
 (0)