You are here

private function MobileDeviceDetection::getBrowser 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::getBrowser()
1 call to MobileDeviceDetection::getBrowser()
MobileDeviceDetection::getObject in src/Object/MobileDeviceDetection.php

File

src/Object/MobileDeviceDetection.php, line 221

Class

MobileDeviceDetection
MobileDeviceDetection object.

Namespace

Drupal\mobile_device_detection\Object

Code

private function getBrowser() {
  $this->object->browser = $this
    ->get($this
    ->getAttributes()
    ->get('browsers'));
  $this
    ->version($this->object->browser);
}