You are here

private function MobileDeviceDetection::getOperatingSystem in Mobile Device Detection 8.2

Same name and namespace in other branches
  1. 8.3 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection::getOperatingSystem()
1 call to MobileDeviceDetection::getOperatingSystem()
MobileDeviceDetection::getObject in src/Object/MobileDeviceDetection.php

File

src/Object/MobileDeviceDetection.php, line 213

Class

MobileDeviceDetection
MobileDeviceDetection object.

Namespace

Drupal\mobile_device_detection\Object

Code

private function getOperatingSystem() {
  $this->object->OS = $this
    ->get($this
    ->getAttributes()
    ->get('operating_systems'));
  $this
    ->version($this->object->OS);
}