Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php namespace Cerbero\Auth\Exceptions; |
||
25 | protected function displayExceptions(Exception $e) |
||
26 | { |
||
27 | $this->display[] = 'Cerbero\Auth\Exceptions\DisplayException'; |
||
28 | |||
29 | foreach ($this->display as $exception) |
||
30 | { |
||
31 | if($e instanceof $exception) |
||
32 | { |
||
33 | return back()->withInput()->withError($e->getMessage()); |
||
34 | } |
||
35 | } |
||
36 | } |
||
37 | |||
39 |