File: D:/HostingSpaces/blijegasten/blijegasten.be/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 UNKNOWN = 0;
const TEXT_IMAGE = 1;
const DOUBLE_TEXT = 2;
const VIDEO = 3;
const TEXT = 4;
const IMAGE = 5;
const REFERENCE = 6;
const SEPARATOR = 7;
const COLLEAGUES = 8;
const STEPS = 9;
const LOGO_SLIDER = 10;
const TEXT_DOWNLOADS = 11;
const NAMED_AREA = 12;
/**
* Alias for code cleanness in the sections
*
* @return array
*/
public static function all() {
return ComponentTypes::getAsArray();
}
}