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

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

This is mainly used when [[enablePrettyUrl]] is false or [[showScriptName]] is true.
public setScriptUrl ( string $value )
$value string the entry script URL that is used by [[createUrl()]] to prepend to created URLs.
    public function setScriptUrl($value)
    {
        $this->_scriptUrl = $value;
    }