private function MobileDeviceDetection::getOperatingSystem in Mobile Device Detection 8.3
Same name and namespace in other branches
- 8.2 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection::getOperatingSystem()
Get operating system.
1 call to MobileDeviceDetection::getOperatingSystem()
- MobileDeviceDetection::getObject in src/
Object/ MobileDeviceDetection.php - Get object.
File
- src/
Object/ MobileDeviceDetection.php, line 250
Class
- MobileDeviceDetection
- MobileDeviceDetection object.
Namespace
Drupal\mobile_device_detection\ObjectCode
private function getOperatingSystem() {
$this->object->OS = $this
->get($this
->getAttributes()
->get('operating_systems'));
$this
->version($this->object->OS);
}