small fix and enhancement

This commit is contained in:
Tobias Schultze 2012-11-12 18:00:02 +01:00
parent 1e1cb13faf
commit 5d9a36fe42

View File

@ -59,11 +59,11 @@ class Route implements \Serializable
* *
* * compiler_class: A class name able to compile this route instance (RouteCompiler by default) * * compiler_class: A class name able to compile this route instance (RouteCompiler by default)
* *
* @param string $pattern The pattern to match * @param string $pattern The path pattern to match
* @param array $defaults An array of default parameter values * @param array $defaults An array of default parameter values
* @param array $requirements An array of requirements for parameters (regexes) * @param array $requirements An array of requirements for parameters (regexes)
* @param array $options An array of options * @param array $options An array of options
* @param string $hostname The hostname pattern to match * @param string $hostnamePattern The hostname pattern to match
* *
* @api * @api
*/ */
@ -101,7 +101,7 @@ class Route implements \Serializable
} }
/** /**
* Returns the pattern. * Returns the pattern for the path.
* *
* @return string The pattern * @return string The pattern
*/ */
@ -111,7 +111,7 @@ class Route implements \Serializable
} }
/** /**
* Sets the pattern. * Sets the pattern for the path.
* *
* This method implements a fluent interface. * This method implements a fluent interface.
* *