You are here

private function MobileDeviceDetectionObject::getOperatingSystem in Mobile Device Detection 8

1 call to MobileDeviceDetectionObject::getOperatingSystem()
MobileDeviceDetectionObject::getObject in src/Object/MobileDeviceDetectionObject.php

File

src/Object/MobileDeviceDetectionObject.php, line 210

Class

MobileDeviceDetectionObject

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);
}