Commit 878fd68e authored by Taddeus Kroes's avatar Taddeus Kroes

Updated some docs.

parent 9df0118b
...@@ -81,10 +81,8 @@ class Router extends Base { ...@@ -81,10 +81,8 @@ class Router extends Base {
* function adds '%^' at the begin and '$%' at the end of the pattern as * function adds '%^' at the begin and '$%' at the end of the pattern as
* delimiters. * delimiters.
* *
* The handler function must receive no arguments if the regex pattern * Any matches for groups in the pattern (which are contained in
* does not contain groups (which are contained in parentheses). If there * parentheses), the matches for these are passed to the handler function.
* are groups, the matches for these are passed to the handler fucntion in
* an array.
* *
* @param string $pattern A regex pattern to mach URL's against. * @param string $pattern A regex pattern to mach URL's against.
* @param mixed $handler The handler function to call when $pattern is matched. * @param mixed $handler The handler function to call when $pattern is matched.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment