Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add FastRoute\
  • Loading branch information
dfdxAlex authored and lcobucci committed Jan 8, 2024
1 parent bf21def commit 92eb2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Additionally, you can specify routes inside of a group. All routes defined insid
For example, defining your routes as:

```php
$r->addGroup('/admin', function (RouteCollector $r) {
$r->addGroup('/admin', function (FastRoute\RouteCollector $r) {
$r->addRoute('GET', '/do-something', 'handler');
$r->addRoute('GET', '/do-another-thing', 'handler');
$r->addRoute('GET', '/do-something-else', 'handler');
Expand Down

0 comments on commit 92eb2d2

Please sign in to comment.