| Total Complexity | 7 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class ForbidBannedUser |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The Guard implementation. |
||
| 24 | * |
||
| 25 | * @var \Illuminate\Contracts\Auth\Guard |
||
| 26 | */ |
||
| 27 | protected $auth; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Illuminate\Contracts\Auth\Guard $auth |
||
| 31 | */ |
||
| 32 | public function __construct(Guard $auth) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Handle an incoming request. |
||
| 39 | * |
||
| 40 | * @param \Illuminate\Http\Request $request |
||
| 41 | * @param \Closure $next |
||
| 42 | * @return mixed |
||
| 43 | * |
||
| 44 | * @throws \Exception |
||
| 45 | */ |
||
| 46 | public function handle($request, Closure $next) |
||
| 67 |