Added comments to $route->handler().

This commit is contained in:
Taylor Otwell
2011-08-05 09:20:26 -05:00
parent 8affa31a02
commit 00af8c715f

View File

@@ -82,6 +82,9 @@ class Route {
/**
* Extract the route function from the route.
*
* If a "do" index is specified on the callback, that is the handler.
* Otherwise, we will return the first callable array value.
*
* @return Closure
*/
private function handler()