ShortUrlService
Only to be used within TYPO3. Might change in the future.
Table of Contents
Methods
- __construct() : mixed
- generateUniqueShortUrlPath() : string|null
- isUniqueShortUrl() : bool
Methods
__construct()
public
__construct(ConnectionPool $connectionPool, Random $random) : mixed
Parameters
- $connectionPool : ConnectionPool
- $random : Random
generateUniqueShortUrlPath()
public
generateUniqueShortUrlPath(string $sourceHost) : string|null
Parameters
- $sourceHost : string
Return values
string|nullisUniqueShortUrl()
public
isUniqueShortUrl(string $sourceHost, string $sourcePath) : bool
Parameters
- $sourceHost : string
- $sourcePath : string