|
@@ 687-691 (lines=5) @@
|
| 684 |
|
$handler = 'phpErrorHandler'; |
| 685 |
|
$params = [$request, $response, $e]; |
| 686 |
|
|
| 687 |
|
if ($this->container->has($handler)) { |
| 688 |
|
$callable = $this->container->get($handler); |
| 689 |
|
// Call the registered handler |
| 690 |
|
return call_user_func_array($callable, $params); |
| 691 |
|
} |
| 692 |
|
} |
| 693 |
|
} |
| 694 |
|
|
|
@@ 660-664 (lines=5) @@
|
| 657 |
|
$params = [$request, $response, $e]; |
| 658 |
|
} |
| 659 |
|
|
| 660 |
|
if ($this->container->has($handler)) { |
| 661 |
|
$callable = $this->container->get($handler); |
| 662 |
|
// Call the registered handler |
| 663 |
|
return call_user_func_array($callable, $params); |
| 664 |
|
} |
| 665 |
|
|
| 666 |
|
// No handlers found, so just throw the exception |
| 667 |
|
throw $e; |