Property | Type | Description | |
---|---|---|---|
$defaultValues | |||
$detectionCapabilities | |||
$homepage | string | Homepage of the provider | |
$name | string | Name of the provider | |
$packageName | string | Composer package name |
Method | Description | |
---|---|---|
__construct ( ) | ||
getBrowserParser ( string $userAgent ) : Sinergi\BrowserDetector\Browser | ||
getDeviceParser ( string $userAgent ) : Sinergi\BrowserDetector\Device | ||
getOperatingSystemParser ( string $userAgent ) : Sinergi\BrowserDetector\Os | ||
parse ( $userAgent, array $headers = [] ) |
Method | Description | |
---|---|---|
hasResult ( Sinergi\BrowserDetector\Browser $browserRaw, Sinergi\BrowserDetector\Os $osRaw, Sinergi\BrowserDetector\Device $deviceRaw ) : boolean | ||
hydrateBrowser ( |
||
hydrateDevice ( |
||
hydrateOperatingSystem ( |
public getBrowserParser ( string $userAgent ) : Sinergi\BrowserDetector\Browser | ||
$userAgent | string | |
return | Sinergi\BrowserDetector\Browser |
public getDeviceParser ( string $userAgent ) : Sinergi\BrowserDetector\Device | ||
$userAgent | string | |
return | Sinergi\BrowserDetector\Device |
public getOperatingSystemParser ( string $userAgent ) : Sinergi\BrowserDetector\Os | ||
$userAgent | string | |
return | Sinergi\BrowserDetector\Os |
protected string $packageName | ||
return | string |