| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function registerErrorHandler() |
||
| 43 | { |
||
| 44 | $this->getContainer()->share('error-handler', function () { |
||
| 45 | return ErrorHandler::register(null, false); |
||
| 46 | }); |
||
| 47 | |||
| 48 | $this->getContainer()->alias('error-handler', ErrorHandler::class); |
||
| 49 | $this->getContainer()->alias('error-handler', \Nip\Debug\ErrorHandler::class); |
||
| 50 | } |
||
| 51 | |||
| 57 |