private function detectZune($ua) { if (preg_match('/Microsoft ZuneHD/u', $ua)) { $this->data->os->reset(); $this->data->device->setIdentification(['manufacturer' => 'Microsoft', 'model' => 'Zune HD', 'type' => Constants\DeviceType::MEDIA]); } }