public function getShareLink($url, array $options = array())
    {
        $options['url'] = $url;

        return sprintf(self::SHARE_URL, http_build_query($options));
    }
public function getShareLink($url, array $options = array())
    {
        $options['url'] = $url;

        return sprintf(self::SHARE_URL, http_build_query($options));
    }
public function getShareLink ( $ url , array $ options = array ( ) ) { $ options [ 'url' ] = $ url ; return sprintf ( self :: SHARE_URL , http_build_query ( $ options ) ) ; }
Gets the share link for provided URL.

@param $url
@param array $options

@return string
Gets the share link for provided URL .