File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
- # This library has a quick use of the router with regular expressions based on [ mrjgreen's phroute] ( https://github.com/mrjgreen/phroute ) .
1
+ # This library has a quick use of the router with regular expressions based on [ mrjgreen phroute] ( https://github.com/mrjgreen/phroute ) .
2
2
[ ![ Latest Stable Version] ( http://poser.pugx.org/lion-framework/lion-route/v )] ( https://packagist.org/packages/lion-framework/lion-route ) [ ![ Total Downloads] ( http://poser.pugx.org/lion-framework/lion-route/downloads )] ( https://packagist.org/packages/lion-framework/lion-route ) [ ![ Latest Unstable Version] ( http://poser.pugx.org/lion-framework/lion-route/v/unstable )] ( https://packagist.org/packages/lion-framework/lion-route ) [ ![ License] ( http://poser.pugx.org/lion-framework/lion-route/license )] ( https://packagist.org/packages/lion-framework/lion-route ) [ ![ PHP Version Require] ( http://poser.pugx.org/lion-framework/lion-route/require/php )] ( https://packagist.org/packages/lion-framework/lion-route )
3
3
4
4
## Install
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public static function init(): Route {
19
19
}
20
20
21
21
public static function getRoutes (): array {
22
- return ( array ) self ::$ router ;
22
+ return self ::$ router-> getData ()-> getStaticRoutes () ;
23
23
}
24
24
25
25
public static function newMiddleware (array $ middleware ): void {
You can’t perform that action at this time.
0 commit comments