src/Leevel/Router/Router.php
public function dispatch(IRequest $request): IResponse
    {
        $this->request = $request;

        return $this->dispatchToRoute($request);
    }
public function dispatch(IRequest $request): IResponse
    {
        $this->request = $request;

        return $this->dispatchToRoute($request);
    }
分发请求到路由.

@param \Leevel\Http\IRequest $request

@return \Leevel\Http\IResponse