src/Uri/UriGenerator.php
protected function getUrl($data, $secure)
    {
        $this->https = $secure;
        return $this->scheme() . $this->replace($data);
    }
protected function getUrl($data, $secure)
    {
        $this->https = $secure;
        return $this->scheme() . $this->replace($data);
    }
Get url.

@param string $data
@param bool   $secure

@return string