getHostInfo() public method
Returns the host info that is used by createAbsoluteUrl() to prepend to created URLs.
public string getHostInfo ( ) | ||
---|---|---|
return | string |
The host info (e.g. "http://www.example.com") that is used by createAbsoluteUrl() to prepend to created URLs. |
throws | yii\base\InvalidConfigException |
if running in console application and $hostInfo is not configured. |
Please login to continue.