yii\base\Theme::setBaseUrl PHP Метод

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

public setBaseUrl ( string $url )
$url string the base URL or path alias for this theme. All resources of this theme are considered to be under this base URL.
    public function setBaseUrl($url)
    {
        $this->_baseUrl = rtrim(Yii::getAlias($url), '/');
    }