LaysenseAuth/app/middleware/Listen.php

18 lines
310 B
PHP
Raw Normal View History

2024-08-10 00:43:52 +08:00
<?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);
}
}