protected function parsePlatform() { if ($this->matchUserAgent('arm')) { return 'ARM'; } elseif ($this->matchUserAgent('WOW64|x64|win64|amd64|x86_64')) { return 'x64'; } elseif ($this->matchUserAgent('i[0-9]86|i86pc')) { return 'x86'; } return ''; }