8000 minor #5047 Fix service id (JhonnyL) · symfony/symfony-docs@0d0c795 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d0c795

Browse files
committed
minor #5047 Fix service id (JhonnyL)
This PR was submitted for the master branch but it was merged into the 2.6 branch instead (closes #5047). Discussion ---------- Fix service id Commits ------- cf31894 Fix service id
2 parents 3405c42 + cf31894 commit 0d0c795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/controller/service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ the route ``_controller`` value:
124124

125125
.. versionadded:: 2.6
126126
If your controller service implements the ``__invoke`` method, you can simply refer to the service id
127-
(``acme.hello.controller``).
127+
(``app.hello_controller``).
128128

129129
Alternatives to base Controller Methods
130130
---------------------------------------

0 commit comments

Comments
 (0)
0