Skip to content

Commit b9b4567

Browse files
authored
Fix method reference (getSubscribedServices() instead of getSubscribedEvents())
1 parent f89e2d0 commit b9b4567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The best way to see how to replace base ``Controller`` convenience methods is to
130130
look at the `ControllerTrait`_ that holds its logic.
131131

132132
If you want to know what type-hints to use for each service, see the
133-
``getSubscribedEvents()`` method in `AbstractController`_.
133+
``getSubscribedServices()`` method in `AbstractController`_.
134134

135135
.. _`Controller class source code`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php
136136
.. _`base Controller class`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php

0 commit comments

Comments
 (0)