category Zend
package Zend_Service_ShortUrl
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

This function shortens long url

shorten(string $url) : string

Parameters

$url

string

URL to Shorten

Returns

stringShortened Url

Reveals target for short URL

unshorten(string $shortenedUrl) : string

Parameters

$shortenedUrl

string

URL to reveal target of

Returns

stringUnshortened Url