mimmi20/ua-device-type

View on GitHub
src/EbookReader.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/**
 * This file is part of the ua-device-type package.
 *
 * Copyright (c) 2015-2024, Thomas Mueller <mimmi20@live.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types = 1);

namespace UaDeviceType;

final class EbookReader implements TypeInterface
{
    use DeviceTypeTrait;

    public const string TYPE = 'ebook-reader';

    /**
     * the name of the device
     */
    private const string NAME = 'Ebook Reader';

    /**
     * the device is a mobile device
     */
    private const bool MOBILE = true;

    /**
     * the device is a desktop device
     */
    private const bool DESKTOP = false;

    /**
     * the device is a gaming device
     */
    private const bool CONSOLE = false;

    /**
     * the device is a tv device
     */
    private const bool TV = false;

    /**
     * the device is a phone device
     */
    private const bool PHONE = false;

    /**
     * the device is a tablet device
     */
    private const bool TABLET = false;

    /**
     * description for the device
     */
    private const string DESCRIPTION = 'a mobile device with its own screen to read E-Books';
}