File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -805,12 +805,12 @@ Notice that Symfony adds the string ``Controller`` to the class name (``Blog``
805
805
806
806
.. note ::
807
807
808
- Symfony also supports two other controller formats. The first, which contains
809
- no colon separators, refers to the controller as a service (see
810
- :doc: `/cookbook/controller/service `). The second is formatted like
811
- ``ControllerClassName::methodName ``. When Symfony sees this format, it
812
- will try to create a new instance of ``ControllerClassName `` and then
813
- call the ``methodName `` method.
808
+ Symfony also supports two other controller formats. The first contains
809
+ one colon separator (e.g. `` service_name:indexAction ``) and refers to
810
+ the controller as a service (see :doc: `/cookbook/controller/service `).
811
+ The second is formatted like ``ControllerClassName::methodName ``. When
812
+ Symfony sees this format, it will try to create a new instance of ``ControllerClassName ``
813
+ and then call the ``methodName `` method.
814
814
815
815
Route Parameters and Controller Arguments
816
816
-----------------------------------------
You can’t perform that action at this time.
0 commit comments