| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function error(\Exception $exception) |
||
| 42 | { |
||
| 43 | $this->message = $exception->getMessage(); |
||
| 44 | $this->code = $exception->getCode(); |
||
| 45 | $this->line = $exception->getLine(); |
||
| 46 | $this->file = $exception->getFile(); |
||
| 47 | $this->trace = $exception->getTraceAsString(); |
||
| 48 | |||
| 49 | return $this; |
||
| 50 | } |
||
| 162 |