10000 Remove docs about service_name:method · symfony/symfony-docs@a5a5ad7 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5a5ad7

Browse files
author
Chris Bitler
committed
Remove docs about service_name:method
It is deprecated as of 4.1. Fixes #9306
1 parent d03a8d0 commit a5a5ad7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

controller/service.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ If the service id is the fully-qualified class name (FQCN) of your controller,
1919
you're done! You can use the normal ``App\Controller\HelloController::index``
2020
syntax in your routing and it will find your service.
2121

22-
But, if your service has a different id, you can use a special
23-
``service_id:method_name`` syntax:
24-
2522
.. configuration-block::
2623

2724
.. code-block:: php-annotations

routing.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ Controller Naming Pattern
534534
-------------------------
535535

536536
The ``controller`` value in your routes has a very simple format ``CONTROLLER_CLASS::METHOD``.
537-
If your controller is registered as a service, you can also use just one colon separator
538-
(e.g. ``service_name:index``).
539537

540538
.. tip::
541539

0 commit comments

Comments
 (0)
0