|
@@ 680-684 (lines=5) @@
|
| 677 |
|
$params = [$request, $response, $e]; |
| 678 |
|
} |
| 679 |
|
|
| 680 |
|
if ($this->container->has($handler)) { |
| 681 |
|
$callable = $this->container->get($handler); |
| 682 |
|
// Call the registered handler |
| 683 |
|
return call_user_func_array($callable, $params); |
| 684 |
|
} |
| 685 |
|
|
| 686 |
|
// No handlers found, so just throw the exception |
| 687 |
|
throw $e; |
|
@@ 705-709 (lines=5) @@
|
| 702 |
|
$handler = 'phpErrorHandler'; |
| 703 |
|
$params = [$request, $response, $e]; |
| 704 |
|
|
| 705 |
|
if ($this->container->has($handler)) { |
| 706 |
|
$callable = $this->container->get($handler); |
| 707 |
|
// Call the registered handler |
| 708 |
|
return call_user_func_array($callable, $params); |
| 709 |
|
} |
| 710 |
|
|
| 711 |
|
// No handlers found, so just throw the exception |
| 712 |
|
throw $e; |