| Conditions | 4 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function notifyException(\Exception $e) |
||
| 14 | { |
||
| 15 | $driver = config('exception-monitor.drivers'); |
||
| 16 | |||
| 17 | if ($this->enabledEnvironment(app()->environment())) { |
||
| 18 | if (is_array($driver)) { |
||
| 19 | foreach ($driver as $instance) { |
||
| 20 | $this->sendException($e, $instance); |
||
| 21 | } |
||
| 22 | } else { |
||
| 23 | $this->sendException($e, $driver); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |
||
| 27 | |||
| 76 |