Ejemplo n.º 1
0
 /**
  * Get the reflected user agent's informations.
  * 
  * If null is setted then the detector will use the CURRENT visitor's agent.
  * If cache interval setted to 0 the func skip to load the cache. (in the config)
  *
  * @since 1.0.0
  * @param string|null $userAgent User agent HTTP header.
  * @return \hisorange\BrowserDetect\Result 
  * @static 
  */
 public static function detect($userAgent = null)
 {
     return \hisorange\BrowserDetect\Parser::detect($userAgent);
 }