We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 561c6ee commit 9879ee6Copy full SHA for 9879ee6
cookbook/controller/service.rst
@@ -136,6 +136,10 @@ the route ``_controller`` value:
136
:doc:`FrameworkExtraBundle documentation </bundles/SensioFrameworkExtraBundle/annotations/routing>`
137
for details.
138
139
+.. versionadded:: 2.6
140
+ If your controller service implements the ``__invoke`` method, you can simply refer to the service id
141
+ (``acme.hello.controller``).
142
+
143
Alternatives to base Controller Methods
144
---------------------------------------
145
0 commit comments