src/includes/classes/Core/Utils/UrlCurrent.php
public function scheme(): string
    {
        if (($scheme = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $scheme; // Cached this already.
        }
        return $scheme = $this->isSsl() ? 'https' : 'http';
    }
public function scheme(): string
    {
        if (($scheme = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $scheme; // Cached this already.
        }
        return $scheme = $this->isSsl() ? 'https' : 'http';
    }
Current scheme; lowercase.

@since 150424 Initial release.

@return string Current scheme; lowercase.