Skip to content

Commit

Permalink
unify event subscriber usages
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed May 1, 2015
1 parent 95c842c commit b774651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/event_dispatcher/container_aware_dispatcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ method where the ``$callback`` is an array of ``array($serviceId, $methodName)``
Adding Subscriber Services
~~~~~~~~~~~~~~~~~~~~~~~~~~

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

The ``EventSubscriberInterface`` will be exactly as you would expect::
The ``EventSubscriberInterface`` is exactly as you would expect::

use Symfony\Component\EventDispatcher\EventSubscriberInterface;
// ...
Expand Down

0 comments on commit b774651

Please sign in to comment.