| @@ 116-122 (lines=7) @@ | ||
| 113 | try { |
|
| 114 | return $this->doRun($request); |
|
| 115 | } catch (\Exception $e) { |
|
| 116 | if ($this->debug) { |
|
| 117 | if (($dispatcher = $this->container->dispatcher) && $dispatcher instanceof IDispatcher) { |
|
| 118 | $dispatcher->signal('kernel.exception', ['exception' => $e]); |
|
| 119 | } |
|
| 120 | ||
| 121 | throw $e; |
|
| 122 | } |
|
| 123 | ||
| 124 | return $this->doException($e); |
|
| 125 | } |
|
| @@ 394-396 (lines=3) @@ | ||
| 391 | */ |
|
| 392 | public function terminate() |
|
| 393 | { |
|
| 394 | if (($dispatcher = $this->container->dispatcher) && $dispatcher instanceof IDispatcher) { |
|
| 395 | $dispatcher->signal('kernel.kill', ['container' => $this->container]); |
|
| 396 | } |
|
| 397 | } |
|
| 398 | ||
| 399 | /** |
|