Permalink
Browse files

added a note that the host config is only available as of Symfony 2.2

  • Loading branch information...
1 parent 0c3b670 commit a68e50ae6b3f34be32df2a8f4a51023c6c1ed150 @fabpot committed Apr 1, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Silex/Route.php
View
@@ -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
*

0 comments on commit a68e50a

Please sign in to comment.