Skip to content

Commit 571647d

Browse files
committed
Document the Requirement constants in routing.rst
1 parent 23bafc9 commit 571647d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

routing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,12 @@ URL Route Parameters
772772
``/blog/my-first-post`` ``blog_show`` ``$slug`` = ``my-first-post``
773773
======================== ============= ===============================
774774

775+
.. tip::
776+
777+
The :class:`Symfony\\Component\\Routing\\Requirement\\Requirement` enum
778+
contains a collection of commonly used regular-expression constants such as
779+
digits, dates and UUIDs which can be used as route parameter requirements.
780+
775781
.. tip::
776782

777783
Route requirements (and route paths too) can include

0 commit comments

Comments
 (0)