|
@@ 669-673 (lines=5) @@
|
| 666 |
|
$params = [$request, $response, $e]; |
| 667 |
|
} |
| 668 |
|
|
| 669 |
|
if ($this->container->has($handler)) { |
| 670 |
|
$callable = $this->container->get($handler); |
| 671 |
|
// Call the registered handler |
| 672 |
|
return call_user_func_array($callable, $params); |
| 673 |
|
} |
| 674 |
|
|
| 675 |
|
// No handlers found, so just throw the exception |
| 676 |
|
throw $e; |
|
@@ 694-698 (lines=5) @@
|
| 691 |
|
$handler = 'phpErrorHandler'; |
| 692 |
|
$params = [$request, $response, $e]; |
| 693 |
|
|
| 694 |
|
if ($this->container->has($handler)) { |
| 695 |
|
$callable = $this->container->get($handler); |
| 696 |
|
// Call the registered handler |
| 697 |
|
return call_user_func_array($callable, $params); |
| 698 |
|
} |
| 699 |
|
|
| 700 |
|
// No handlers found, so just throw the exception |
| 701 |
|
throw $e; |