code: public function base($data = null, $secure = false)
      {
          $data = (! is_null($data)) ? $this->url . $data : $this->url . '/';
          return $this->getUrl($data, $secure);
      }
docs: Get base url for app.
  
  @param string $data
  @param bool   $secure
  
  @return string