| 1 | <?php |
||
| 8 | class IpWhitelist |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Create a new filter instance. |
||
| 12 | */ |
||
| 13 | public function __construct() |
||
| 16 | |||
| 17 | protected function isWhitelisted($ip) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Handle an incoming request. |
||
| 42 | * |
||
| 43 | * @param \Illuminate\Http\Request $request |
||
| 44 | * @param \Closure $next |
||
| 45 | * |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | public function handle($request, Closure $next) |
||
| 56 | } |
||
| 57 |