public function getUrl()
{
$url = ($this->configuration->getSecure() ? 's' : '') . 'qrl://' . $this->configuration->getDomain();
if (strpos($this->configuration->getDomain(), '/') !== false) {
$extension = strlen($this->configuration->getDomain()) - strpos($this->configuration->getDomain(), '/');
$url .= substr($this->generateQry(), $extension) . '&d=' . $extension;
} else {
$url .= $this->generateQry();
}
return $url;
}