mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 06:42:12 +00:00
Callback, faking route and documentation updates
This commit is contained in:
@@ -6,6 +6,12 @@ use Pecee\SimpleRouter\RouterEntry;
|
||||
|
||||
interface IExceptionHandler {
|
||||
|
||||
public function handleError(Request $request, RouterEntry $router = null, \Exception $error);
|
||||
/**
|
||||
* @param Request $request
|
||||
* @param RouterEntry|null $route
|
||||
* @param \Exception $error
|
||||
* @return Request|null
|
||||
*/
|
||||
public function handleError(Request $request, RouterEntry &$route = null, \Exception $error);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user