Skip to content

Commit

Permalink
added a note that the host config is only available as of Symfony 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 1, 2013
1 parent 0c3b670 commit a68e50a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Silex/Route.php
Expand Up @@ -87,7 +87,9 @@ public function method($method)
}

/**
* Sets the requirement of host on this Route
* Sets the requirement of host on this Route.
*
* Note that this only works with at least version 2.2 of the Symfony Routing component.
*
* @param string $host The host for which this route should be enabled
*
Expand Down

0 comments on commit a68e50a

Please sign in to comment.