src/Dispatch/Dispatcher.php
public function setVirtualHost(VirtualHost $vhost)
    {
        $this->vhost = $vhost;
        $this->setVariable('vhost', $vhost);
        return $this;
    }
public function setVirtualHost(VirtualHost $vhost)
    {
        $this->vhost = $vhost;
        $this->setVariable('vhost', $vhost);
        return $this;
    }
Set the VirtualHost for this request

@param VirtualHost $vhost The VirtualHost matching the request
@return Dispatcher Provides fluent interface