From 571647d4300db6a91950178c32d2191716a8b323 Mon Sep 17 00:00:00 2001 From: Nic Wortel Date: Wed, 29 Jun 2022 19:07:27 +0200 Subject: [PATCH] Document the Requirement constants in routing.rst --- routing.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/routing.rst b/routing.rst index e191152d552..555d1cbd20a 100644 --- a/routing.rst +++ b/routing.rst @@ -772,6 +772,12 @@ URL Route Parameters ``/blog/my-first-post`` ``blog_show`` ``$slug`` = ``my-first-post`` ======================== ============= =============================== +.. tip:: + + The :class:`Symfony\\Component\\Routing\\Requirement\\Requirement` enum + contains a collection of commonly used regular-expression constants such as + digits, dates and UUIDs which can be used as route parameter requirements. + .. tip:: Route requirements (and route paths too) can include