| Total Complexity | 4 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php namespace Distilleries\Expendable\Http\Middleware; | ||
| 7 | class Authenticate { | ||
| 8 | |||
| 9 | /** | ||
| 10 | * The Guard implementation. | ||
| 11 | * | ||
| 12 | * @var Guard | ||
| 13 | */ | ||
| 14 | protected $auth; | ||
| 15 | protected $config; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * Create a new filter instance. | ||
| 19 | * | ||
| 20 | * @param Guard $auth | ||
| 21 | */ | ||
| 22 | public function __construct(Guard $auth, Repository $config) | ||
| 26 | } | ||
| 27 | |||
| 28 | /** | ||
| 29 | * Handle an incoming request. | ||
| 30 | * | ||
| 31 | * @param \Illuminate\Http\Request $request | ||
| 32 | * @param \Closure $next | ||
| 33 | * @return mixed | ||
| 34 | */ | ||
| 35 | public function handle($request, Closure $next) | ||
| 49 | } | ||
| 50 | } |