code: protected function getUrl($data, $secure)
      {
          $this->https = $secure;
          return $this->scheme() . $this->replace($data);
      }
docs: Get url.
  
  @param string $data
  @param bool   $secure
  
  @return string