MobileDeviceDetection.php in Mobile Device Detection 8
Same filename and directory in other branches
Namespace
Drupal\mobile_device_detection\ObjectFile
src/Object/MobileDeviceDetection.phpView source
<?php
namespace Drupal\mobile_device_detection\Object;
use Drupal\mobile_device_detection\Object\MobileDeviceDetectionInterface;
use Drupal\mobile_device_detection\Object\MobileDeviceDetectionObject;
use Drupal\mobile_device_detection\Object\MobileDeviceDetectionAttributes;
class MobileDeviceDetection extends MobileDeviceDetectionObject implements MobileDeviceDetectionInterface {
/**
* {@inheritdoc}
*/
public function __construct(MobileDeviceDetectionAttributes $attributes) {
parent::__construct($attributes);
}
/**
* {@inheritdoc}
*/
public function getObject() {
return parent::getObject();
}
/**
* {@inheritdoc}
*/
public function isMobile() {
return parent::isMobile();
}
/**
* {@inheritdoc}
*/
public function isTablet() {
return parent::isTablet();
}
}
Classes
Name | Description |
---|---|
MobileDeviceDetection |