8000 Fix service id · symfony/symfony-docs@cf31894 · GitHub
[go: up one dir, main page]

Skip to content

Commit cf31894

Browse files
JhonnyLweaverryan
JhonnyL
authored andcommitted
Fix service id
1 parent 3405c42 commit cf31894

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