mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-12 03:12:13 +00:00
[TASK] Made abstract ExceptionHandler class an interface.
- Updated documentation to reflect new changes.
This commit is contained in:
@@ -55,6 +55,9 @@ This router is heavily inspired by the Laravel 5.* router, so anything you find
|
||||
|
||||
### Basic example
|
||||
|
||||
- ExceptionsHandlers must implement the `IExceptionHandler` interface.
|
||||
- Middlewares must implement the `IMiddleware` interface.
|
||||
|
||||
```php
|
||||
use Pecee\SimpleRouter\SimpleRouter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user