Свойство | Тип | Описание | |
---|---|---|---|
$defaultValues | |||
$detectionCapabilities | |||
$homepage | string | Homepage of the provider | |
$name | string | Name of the provider | |
$packageName | string | Composer package name |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
getBrowserParser ( string $userAgent ) : Sinergi\BrowserDetector\Browser | ||
getDeviceParser ( string $userAgent ) : Sinergi\BrowserDetector\Device | ||
getOperatingSystemParser ( string $userAgent ) : Sinergi\BrowserDetector\Os | ||
parse ( $userAgent, array $headers = [] ) |
Метод | Описание | |
---|---|---|
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 | |
Результат | Sinergi\BrowserDetector\Browser |
public getDeviceParser ( string $userAgent ) : Sinergi\BrowserDetector\Device | ||
$userAgent | string | |
Результат | Sinergi\BrowserDetector\Device |
public getOperatingSystemParser ( string $userAgent ) : Sinergi\BrowserDetector\Os | ||
$userAgent | string | |
Результат | Sinergi\BrowserDetector\Os |
protected string $packageName | ||
Результат | string |