diff --git a/src/Routing/Route/Route.php b/src/Routing/Route/Route.php index ae3a49672a5..39348ba4d0c 100644 --- a/src/Routing/Route/Route.php +++ b/src/Routing/Route/Route.php @@ -92,6 +92,9 @@ class Route * * - `_ext` - Defines the extensions used for this route. * - `pass` - Copies the listed parameters into params['pass']. + * - `_host` - Define the host name pattern if you want this route to only match + * specific host names. You can use `.*` and to create wildcard subdomains/hosts + * e.g. `*.example.com` matches all subdomains on `example.com`. * * @param string $template Template string with parameter placeholders * @param array|string $defaults Defaults for the route.