You are here

public function MobileDeviceDetectionObject::__construct in Mobile Device Detection 8

The constructoror

1 call to MobileDeviceDetectionObject::__construct()
MobileDeviceDetection::__construct in src/Object/MobileDeviceDetection.php
The constructoror
1 method overrides MobileDeviceDetectionObject::__construct()
MobileDeviceDetection::__construct in src/Object/MobileDeviceDetection.php
The constructoror

File

src/Object/MobileDeviceDetectionObject.php, line 46

Class

MobileDeviceDetectionObject

Namespace

Drupal\mobile_device_detection\Object

Code

public function __construct(MobileDeviceDetectionAttributes $attributes) {
  $this
    ->setAttributes($attributes);
  $this
    ->init();
}