Documentation

ShortUrlHelper
in package

Table of Contents

Methods

getShortUrl()  : mixed
setShortUrl()  : string
Define um URL curta.
getToken()  : mixed

Methods

setShortUrl()

Define um URL curta.

public static setShortUrl(string $url) : string
Parameters
$url : string

O URL a ser encurtado. Deve ser um link completo

Return values
string

Retorna a nova URL encurtada.

getToken()

private static getToken(mixed $url) : mixed
Parameters
$url : mixed

        
On this page

Search results