Yii Get Current Url : Current url in yii is obtained by using the method Url::current();
Syntax : Yii Get Current Url
$currentUrl = Url::current();
The above method returns the current url with query string in yii.
Yii Get Current Url : Current url in yii is obtained by using the method Url::current();
$currentUrl = Url::current();
The above method returns the current url with query string in yii.