JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrregexes */ public function __construct(array $regexes) { parent::__construct($regexes); $this->deviceParser = new DeviceParser($this->regexes); $this->operatingSystemParser = new OperatingSystemParser($this->regexes); $this->userAgentParser = new UserAgentParser($this->regexes); } /** Sets up some standard variables as well as starts the user agent parsing process */ public function parse(string $userAgent, array $jsParseBits = []): Client { $client = new Client($userAgent); $client->ua = $this->userAgentParser->parseUserAgent($userAgent, $jsParseBits); $client->os = $this->operatingSystemParser->parseOperatingSystem($userAgent); $client->device = $this->deviceParser->parseDevice($userAgent); return $client; } }