|
@@ 697-701 (lines=5) @@
|
| 694 |
|
$params = [$request, $response, $e]; |
| 695 |
|
} |
| 696 |
|
|
| 697 |
|
if ($this->container->has($handler)) { |
| 698 |
|
$callable = $this->container->get($handler); |
| 699 |
|
// Call the registered handler |
| 700 |
|
return call_user_func_array($callable, $params); |
| 701 |
|
} |
| 702 |
|
|
| 703 |
|
// No handlers found, so just throw the exception |
| 704 |
|
throw $e; |
|
@@ 722-726 (lines=5) @@
|
| 719 |
|
$handler = 'phpErrorHandler'; |
| 720 |
|
$params = [$request, $response, $e]; |
| 721 |
|
|
| 722 |
|
if ($this->container->has($handler)) { |
| 723 |
|
$callable = $this->container->get($handler); |
| 724 |
|
// Call the registered handler |
| 725 |
|
return call_user_func_array($callable, $params); |
| 726 |
|
} |
| 727 |
|
|
| 728 |
|
// No handlers found, so just throw the exception |
| 729 |
|
throw $e; |