public __construct ( string $userAgent = null, string $accept = null ) | ||
$userAgent | string | The browser string to parse. |
$accept | string | The HTTP_ACCEPT settings to use. |
public function __construct($userAgent = null, $accept = null)
{
$this->match($userAgent, $accept);
}