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

28 lines
509 B
PHP
Raw Normal View History

<?php
namespace App\Http\Middleware;
use Closure;
class LDCNetwork
{
/**
* Handle an incoming request.
*
2022-06-15 13:05:30 +02:00
* @param mixed $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
2022-06-15 13:05:30 +02:00
/**
* IpUtils::checkIp();
*/
// * https://github.com/symfony/http-foundation/blob/master/IpUtils.php#L36 .
/** @var \Illuminate\Http\Request $request */
return $next($request);
}
}