public function signUri($uri, $secret, $paramName, $params)
    {
        $join = (bool) parse_url($uri, PHP_URL_QUERY) ? '&' : '?';

        return $uri.$join.$paramName.'='.$this->createSignature($secret, $params);
    }
public function signUri($uri, $secret, $paramName, $params)
    {
        $join = (bool) parse_url($uri, PHP_URL_QUERY) ? '&' : '?';

        return $uri.$join.$paramName.'='.$this->createSignature($secret, $params);
    }
public function signUri ( $ uri , $ secret , $ paramName , $ params ) { $ join = ( bool ) parse_url ( $ uri , PHP_URL_QUERY ) ? '&' : '?' ; return $ uri . $ join . $ paramName . '=' . $ this -> createSignature ( $ secret , $ params ) ; }
Sign a URI

@param string $uri URI to Sign
@param string $secret Private Secret
@param string $paramName Name of URI Parameter to store the signature
@param array $params Variables to store inside of the signature
@return string Signed URI
Sign a URI