yii\web\UrlManager::setHostInfo PHP Метод

setHostInfo() публичный Метод

Sets the host info that is used by UrlManager::createAbsoluteUrl to prepend to created URLs.
public setHostInfo ( string $value )
$value string the host info (e.g. "http://www.example.com") that is used by [[createAbsoluteUrl()]] to prepend to created URLs.
    public function setHostInfo($value)
    {
        $this->_hostInfo = $value === null ? null : rtrim($value, '/');
    }