Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | abstract class AbstractErrorMiddleware implements ErrorMiddlewareInterface |
||
9 | { |
||
10 | /** |
||
11 | * @param \Throwable $exception |
||
12 | * @param callable $next |
||
13 | * @return mixed |
||
14 | */ |
||
15 | public function handleError(\Throwable $exception, callable $next) |
||
16 | { |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * @param ExecutionException $exception |
||
21 | * @param ExecutionContext $context |
||
22 | * @return mixed |
||
23 | */ |
||
24 | public function handleExecutionError(ExecutionException $exception, ExecutionContext $context, callable $next) |
||
26 | } |
||
27 | } |
||
28 |