You are here

MobileDeviceDetection.php in Mobile Device Detection 8

File

src/Object/MobileDeviceDetection.php
View 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