Commit 00af8c71 authored by Taylor Otwell's avatar Taylor Otwell

Added comments to $route->handler().

parent 8affa31a
...@@ -82,6 +82,9 @@ class Route { ...@@ -82,6 +82,9 @@ class Route {
/** /**
* 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()
......
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