public function MobileDeviceDetection::__construct in Mobile Device Detection 8.2
Same name and namespace in other branches
- 8.3 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection::__construct()
- 8 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection::__construct()
The constructoror.
File
- src/
Object/ MobileDeviceDetection.php, line 48
Class
- MobileDeviceDetection
- MobileDeviceDetection object.
Namespace
Drupal\mobile_device_detection\ObjectCode
public function __construct($attributes) {
$this
->setAttributes($attributes);
$this
->init();
}