__construct() __construct(string $userAgent = null, array $headers = null) Creates an instance of UserAgent. Parameters string $userAgent User agent. array $headers Headers.
getOperatingSystem() getOperatingSystem() : array Get operating system informations. Returns array — Operating system informations.
isOldBrowser() isOldBrowser() : boolean Check old browsers. Returns boolean — True if a browser is old, false otherwise.
parseProperty() parseProperty(mixed $value) : mixed Parse property value. Parameters mixed $value Returns mixed — Parsed value.