ldc-web/app/Http/Middleware/LDCNetwork.php

24 lines
488 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\IpUtils;
class LDCNetwork
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
//IpUtils::checkIp();
// https://github.com/symfony/http-foundation/blob/master/IpUtils.php#L36
return $next($request);
}
}