mirror of
https://github.com/WilliamAAK/Route2.git
synced 2025-04-19 15:27:19 +00:00
Make the usage example actually work
This commit is contained in:
parent
af995aff42
commit
1c55782058
@ -77,7 +77,7 @@ require '/YourPath/Route.php'
|
|||||||
```PHP
|
```PHP
|
||||||
use WilliamAAK\Http\Route;
|
use WilliamAAK\Http\Route;
|
||||||
|
|
||||||
Route::get('/', fn() => echo 'hello world');
|
Route::get('/', fn() => print('hello world'));
|
||||||
```
|
```
|
||||||
|
|
||||||
See `Route.php` and read the comments for more information
|
See `Route.php` and read the comments for more information
|
||||||
|
Loading…
x
Reference in New Issue
Block a user