filestack/FilestackSecurity.php
public function signUrl($url)
    {
        if (strrpos($url, '?') === false) {
            // append ? if one doesn't exist
            $url .= '?';
        }
        return sprintf('%s&policy=%s&signature=%s',
            $url, $this->policy, $this->signature);
    }
public function signUrl($url)
    {
        if (strrpos($url, '?') === false) {
            // append ? if one doesn't exist
            $url .= '?';
        }
        return sprintf('%s&policy=%s&signature=%s',
            $url, $this->policy, $this->signature);
    }
public function signUrl ( $ url ) { if ( strrpos ( $ url , '?' ) === false ) { // append ? if one doesn't exist $ url .= '?' ; } return sprintf ( '%s&policy=%s&signature=%s' , $ url , $ this -> policy , $ this -> signature ) ; }
Append policy and signature to url

@param string    $url     the url to sign

@return string (url with policy and signature appended)
Append policy and signature to url