src/Leevel/Session/Middleware/Session.php
public function handle(Closure $next, IRequest $request): void
    {
        $this->startSession($request);

        $next($request);
    }
public function handle(Closure $next, IRequest $request): void
    {
        $this->startSession($request);

        $next($request);
    }
请求

@param \Closure              $next
@param \Leevel\Http\IRequest $request