Added comments to $route->handler().

This commit is contained in:
Taylor Otwell 2011-08-05 09:20:26 -05:00
parent 8affa31a02
commit 00af8c715f
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ public function call()
/** /**
* Extract the route function from the 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 * @return Closure
*/ */
private function handler() private function handler()