protected function currentUrl()
    {
        if (isset(static::$static[__FUNCTION__])) {
            return static::$static[__FUNCTION__];
        }
        $url = $this->currentUrlScheme().'://';
        $url .= $this->currentUrlHost();
        $url .= $this->currentUrlUri();

        return static::$static[__FUNCTION__] = $url;
    }
protected function currentUrl()
    {
        if (isset(static::$static[__FUNCTION__])) {
            return static::$static[__FUNCTION__];
        }
        $url = $this->currentUrlScheme().'://';
        $url .= $this->currentUrlHost();
        $url .= $this->currentUrlUri();

        return static::$static[__FUNCTION__] = $url;
    }
protected function currentUrl ( ) { if ( isset ( static :: $ static [ __FUNCTION__ ] ) ) { return static :: $ static [ __FUNCTION__ ] ; } $ url = $ this -> currentUrlScheme ( ) . '://' ; $ url .= $ this -> currentUrlHost ( ) ; $ url .= $ this -> currentUrlUri ( ) ; return static :: $ static [ __FUNCTION__ ] = $ url ; }
URL to current request.

@since 140417 Initial release.

@return string The current URL.
URL to current request .