|
@@ 645-649 (lines=5) @@
|
| 642 |
|
$params = [$request, $response, $e]; |
| 643 |
|
} |
| 644 |
|
|
| 645 |
|
if ($this->container->has($handler)) { |
| 646 |
|
$callable = $this->container->get($handler); |
| 647 |
|
// Call the registered handler |
| 648 |
|
return call_user_func_array($callable, $params); |
| 649 |
|
} |
| 650 |
|
|
| 651 |
|
// No handlers found, so just throw the exception |
| 652 |
|
throw $e; |
|
@@ 670-674 (lines=5) @@
|
| 667 |
|
$handler = 'phpErrorHandler'; |
| 668 |
|
$params = [$request, $response, $e]; |
| 669 |
|
|
| 670 |
|
if ($this->container->has($handler)) { |
| 671 |
|
$callable = $this->container->get($handler); |
| 672 |
|
// Call the registered handler |
| 673 |
|
return call_user_func_array($callable, $params); |
| 674 |
|
} |
| 675 |
|
|
| 676 |
|
// No handlers found, so just throw the exception |
| 677 |
|
throw $e; |