Skip to content

Remove docs about service_name:method #9468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions controller/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ If the service id is the fully-qualified class name (FQCN) of your controller,
you're done! You can use the normal ``App\Controller\HelloController::index``
syntax in your routing and it will find your service.

But, if your service has a different id, you can use a special
``service_id:method_name`` syntax:

.. configuration-block::

.. code-block:: php-annotations
Expand Down
2 changes: 0 additions & 2 deletions routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ Controller Naming Pattern
-------------------------

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

.. tip::

Expand Down