Skip to content

Commit

Permalink
Add docs for _host option.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 8, 2017
1 parent 017a1f9 commit 91b787e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Routing/Route/Route.php
Expand Up @@ -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.
Expand Down

0 comments on commit 91b787e

Please sign in to comment.