You are here

public function MobileDeviceDetectionObject::getObject in Mobile Device Detection 8

1 call to MobileDeviceDetectionObject::getObject()
MobileDeviceDetection::getObject in src/Object/MobileDeviceDetection.php
*
1 method overrides MobileDeviceDetectionObject::getObject()
MobileDeviceDetection::getObject in src/Object/MobileDeviceDetection.php
*

File

src/Object/MobileDeviceDetectionObject.php, line 72

Class

MobileDeviceDetectionObject

Namespace

Drupal\mobile_device_detection\Object

Code

public function getObject() {
  if (isset($this->object->type)) {
    $this
      ->getOperatingSystem();
    $this
      ->getBrowser();
    return $this->object;
  }
}