Skip to content

Commit 6b0f53c

Browse files
committed
Add a warning about routes parameters names limitations
1 parent 5f004c3 commit 6b0f53c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

routing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,10 @@ a slash. URLs matching this route might look like:
466466
Symfony provides you with a way to do this by leveraging service container
467467
parameters. Read more about this in ":doc:`/routing/service_container_parameters`".
468468

469+
.. caution::
470+
471+
A route parameter name cannot start with a digit and cannot be longer than 32 characters.
472+
469473
Special Routing Parameters
470474
~~~~~~~~~~~~~~~~~~~~~~~~~~
471475

0 commit comments

Comments
 (0)