public function asUrl($appSecret = null)
    {
        $this->resetCompiledValues();

        if ($appSecret) {
            $this->addAppSecretProofModifier($appSecret);
        }

        $this->compileModifiers();
        $this->compileFields();

        return $this->compileUrl();
    }
public function asUrl($appSecret = null)
    {
        $this->resetCompiledValues();

        if ($appSecret) {
            $this->addAppSecretProofModifier($appSecret);
        }

        $this->compileModifiers();
        $this->compileFields();

        return $this->compileUrl();
    }
public function asUrl ( $ appSecret = null ) { $ this -> resetCompiledValues ( ) ; if ( $ appSecret ) { $ this -> addAppSecretProofModifier ( $ appSecret ) ; } $ this -> compileModifiers ( ) ; $ this -> compileFields ( ) ; return $ this -> compileUrl ( ) ; }
Compile the final URL as a string.

@param string|null $appSecret The app secret for signing the URL with app secret proof.

@return string
Compile the final URL as a string .