Imbo\Database\DatabaseInterface::insertShortUrl PHP Method

insertShortUrl() public method

Insert a short URL
public insertShortUrl ( string $shortUrlId, string $user, string $imageIdentifier, string $extension = null, array $query = [] ) : boolean
$shortUrlId string The ID of the URL
$user string The user attached to the URL
$imageIdentifier string The image identifier attached to the URL
$extension string Optionl image extension
$query array Optional query parameters
return boolean
    function insertShortUrl($shortUrlId, $user, $imageIdentifier, $extension = null, array $query = []);