| Total Complexity | 4 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 12 | class Authenticate |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The authentication factory instance. |
||
| 16 | * |
||
| 17 | * @var \Illuminate\Contracts\Auth\Factory|mixed |
||
| 18 | */ |
||
| 19 | protected $auth; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new middleware instance. |
||
| 23 | * |
||
| 24 | * @param \Illuminate\Contracts\Auth\Factory $auth |
||
| 25 | * |
||
| 26 | * @return void |
||
| 27 | */ |
||
| 28 | public function __construct(Auth $auth) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Handle an incoming request. |
||
| 35 | * |
||
| 36 | * @param \Illuminate\Http\Request $request |
||
| 37 | * @param \Closure $next |
||
| 38 | * |
||
| 39 | * @return mixed |
||
| 40 | * |
||
| 41 | */ |
||
| 42 | public function handle($request, Closure $next) |
||
| 58 |