Skip to content

Commit

Permalink
Atualizando doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marriosdev committed Nov 2, 2022
1 parent f1a9ab3 commit 3f294f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,20 @@ When accessing the /blog/video/1323 route

### Implement middlewares

<hr>

### Middleware
```php
class Middleware
{
public function handle() {
return true;
}
}
```
```php
use Marrios\Router\HttpRouter;
use Middleware;

$router = new HttpRouter();

Expand Down

0 comments on commit 3f294f2

Please sign in to comment.