Skip to content

Commit b774651

Browse files
committed
unify event subscriber usages
1 parent 95c842c commit b774651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/event_dispatcher/container_aware_dispatcher.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)