if no user agent is given, it uses {@see \BrowscapPHP\Helper\Support} to get it
public getBrowser ( string $userAgent = null ) : stdClass | ||
$userAgent | string | the user agent string |
return | stdClass | the object containing the browsers details. Array if $return_array is set to true. |