HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/debout/debout.nl/app/Components/ComponentType/ComponentTypes.php
<?php


namespace App\Components\ComponentType;



use Komma\KMS\Base\Enum;

/**
 * Class ComponentTypes
 *
 * All component types and their ids.
 * Notice: The ids don't correspond to database records anymore
 *
 * @package App\Components\ComponentType
 */
class ComponentTypes extends Enum
{
    const UNKNOWN = 0;
    const TEXT_IMAGE = 1;
    const DOUBLE_TEXT = 2;
    const VIDEO = 3;
    const TEXT = 4;
    const IMAGE = 5;
    const USP = 6;
    const CONTENT_PERSONAL = 8;
    const CONTENT_SLIDER = 9;
    const QUOTE = 10;
    const DOWNLOADS = 11;
    const DOUBLE_IMAGE = 12;

    /**
     * Alias for clean code in the sections
     *
     * @return array
     */
    public static function all() {
        return ComponentTypes::getAsArray();
    }
}