|
@@ 618-622 (lines=5) @@
|
| 615 |
|
$params = [$request, $response, $e]; |
| 616 |
|
} |
| 617 |
|
|
| 618 |
|
if ($this->container->has($handler)) { |
| 619 |
|
$callable = $this->container->get($handler); |
| 620 |
|
// Call the registered handler |
| 621 |
|
return call_user_func_array($callable, $params); |
| 622 |
|
} |
| 623 |
|
|
| 624 |
|
// No handlers found, so just throw the exception |
| 625 |
|
throw $e; |
|
@@ 643-647 (lines=5) @@
|
| 640 |
|
$handler = 'phpErrorHandler'; |
| 641 |
|
$params = [$request, $response, $e]; |
| 642 |
|
|
| 643 |
|
if ($this->container->has($handler)) { |
| 644 |
|
$callable = $this->container->get($handler); |
| 645 |
|
// Call the registered handler |
| 646 |
|
return call_user_func_array($callable, $params); |
| 647 |
|
} |
| 648 |
|
|
| 649 |
|
// No handlers found, so just throw the exception |
| 650 |
|
throw $e; |