Skip to content

Commit 8e64505

Browse files
committed
minor #9468 Remove docs about service_name:method (Chris-Bitler)
This PR was merged into the master branch. Discussion ---------- Remove docs about service_name:method The 'service_name:method' syntax is deprecated as of 4.1 This fixes #9306. Commits ------- a5a5ad7 Remove docs about service_name:method
2 parents d03a8d0 + a5a5ad7 commit 8e64505

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)