File: D:/HostingSpaces/SBogers10/inzigd.komma.pro/app/Komma/Components/ComponentType/ComponentTypes.php
<?php
namespace App\Komma\Components\ComponentType;
use App\Komma\Base\Enum;
/**
* Class ComponentTypes
*
* All component types and their ids.
* Notice: The ids don't correspond to database records anymore
*
* @package App\Komma\Components\ComponentType
*/
class ComponentTypes extends Enum
{
const TEXT_IMAGE = 1;
const DOUBLE_TEXT = 2;
const VIDEO = 3;
const TEXT = 4;
const IMAGE = 5;
const QUOTE = 6;
const HERO = 7;
const USP = 8;
const CLIENT_QUOTE = 9;
const CENTERED_CONTENT = 10;
const TRIPTYCH = 11;
const PRODUCT_RANGE = 12;
const SPACE = 13;
/**
* Alias for code cleanness in the sections
*
* @return array
*/
public static function all() {
return ComponentTypes::getAsArray();
}
}