LaysenseAuth/app/middleware/Listen.php
2024-08-10 00:43:52 +08:00

18 lines
310 B
PHP

<?php
namespace app\middleware;
use Webman\MiddlewareInterface;
use Webman\Http\Response;
use Webman\Http\Request;
class Listen implements MiddlewareInterface
{
public function process(Request $request, callable $next): Response
{
print_r($request);
return $next($request);
}
}