From a68e50ae6b3f34be32df2a8f4a51023c6c1ed150 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 1 Apr 2013 10:34:24 +0200 Subject: [PATCH] added a note that the host config is only available as of Symfony 2.2 --- src/Silex/Route.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Silex/Route.php b/src/Silex/Route.php index 0a9cffbe6..881a586bc 100644 --- a/src/Silex/Route.php +++ b/src/Silex/Route.php @@ -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 *