src/Dispatch/Dispatcher.php
public function setRequest(Request $request)
    {
        $this->request = $request;
        $this->app = null;
        $this->vhost = null;
        $this->route = null;
        $this->setVariable('request', $request);
        return $this;
    }
public function setRequest(Request $request)
    {
        $this->request = $request;
        $this->app = null;
        $this->vhost = null;
        $this->route = null;
        $this->setVariable('request', $request);
        return $this;
    }
Set the request being handled
@param Request $request The request instance
@return Dispatcher Provides fluent interface