Ip\Config::baseUrl PHP Метод

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

Returns absolute base url.
public baseUrl ( string $protocol = null ) : string
$protocol string 'http:// https:// or //. Current protocol will be used if null
Результат string
    public function baseUrl($protocol = null)
    {
        $prot = $this->protocolUrl;
        if ($protocol !== null) {
            $prot = $protocol;
        }
        return $prot . $this->config['baseUrl'];
    }