| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected function registerWhoops() |
||
| 34 | {
|
||
| 35 | // We will instruct Whoops to not exit after it displays the exception as it |
||
| 36 | // will otherwise run out before we can do anything else. We just want to |
||
| 37 | // let the framework go ahead and finish a request on this end instead. |
||
| 38 | with($whoops = new Run)->allowQuit(false); |
||
| 39 | |||
| 40 | $whoops->pushHandler($this->app['whoops.handler']); |
||
| 41 | |||
| 42 | $whoops->register(); |
||
| 43 | } |
||
| 44 | |||
| 60 |