Skip to content

Commit b7c5db8

Browse files
committed
docs: add sub section title
1 parent e91e5b6 commit b7c5db8

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

user_guide_src/source/incoming/routing.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ and the ``productLookupByID()`` method passing in the match as a variable to the
6969

7070
.. literalinclude:: routing/009.php
7171

72+
.. _routing-http-verb-routes:
73+
7274
HTTP verb Routes
7375
================
7476

@@ -185,11 +187,20 @@ Placeholders Description
185187
.. note:: ``{locale}`` cannot be used as a placeholder or other part of the route, as it is reserved for use
186188
in :doc:`localization </outgoing/localization>`.
187189

188-
Note that a single ``(:any)`` will match multiple segments in the URL if present. For example the route:
190+
.. _routing-placeholder-any:
191+
192+
The Behavior of (:any)
193+
^^^^^^^^^^^^^^^^^^^^^^
194+
195+
Note that a single ``(:any)`` will match multiple segments in the URL if present.
196+
197+
For example the route:
189198

190199
.. literalinclude:: routing/010.php
191200

192-
will match **product/123**, **product/123/456**, **product/123/456/789** and so on. The implementation in the
201+
will match **product/123**, **product/123/456**, **product/123/456/789** and so on.
202+
203+
The implementation in the
193204
Controller should take into account the maximum parameters:
194205

195206
.. literalinclude:: routing/011.php

0 commit comments

Comments
 (0)