protected function _addClientData()
 {
     $this->ip_address = $_SERVER['REMOTE_ADDR'];
     $this->request_uri = $_SERVER['REQUEST_URI'];
     $this->user_agent = $_SERVER['HTTP_USER_AGENT'];
     $this->referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null;
     $this->domain = \Router::getProtocol() . '://' . $_SERVER['HTTP_HOST'];
 }
 /**
  *
  */
 public static function host()
 {
     if (!static::$_urlPath) {
         $protocol = \Router::getProtocol();
         static::$_urlPath = $protocol . '://' . $_SERVER['HTTP_HOST'];
     }
     return static::$_urlPath;
 }