Skip to content

Commit

Permalink
docs: update doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Apr 30, 2023
1 parent fa19f11 commit caf6e23
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions system/Router/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,18 @@ class RouteCollection implements RouteCollectionInterface
* [
* verb => [
* routeKey(regex) => [
* 'name' => routeName
* 'handler' => handler,
* 'from' => from,
* 'name' => routeName
* 'handler' => handler,
* 'from' => from,
* ],
* // redirect route
* or routeKey(regex)(from) => [
* ],
* // redirect route
* '*' => [
* routeKey(regex)(from) => [
* 'name' => routeName
* 'handler' => [routeKey(regex)(to) => handler],
* 'from' => from,
* 'redirect' => statusCode,
* 'from' => from,
* ],
* ],
* ]
Expand Down

0 comments on commit caf6e23

Please sign in to comment.