<?php


namespace AutoAdmin\Bundle\BrickBuilder\BrickType;


class BrickCategory
{
    // e.g. used in order to structure contents
    public const CATEGORY_LAYOUT = 'cat_layout';

    // e.g. get last 5 posts
    public const CATEGORY_MEDIA = 'cat_media';

    // e.g. basic texts
    public const CATEGORY_TEXT = 'cat_text';

    // e.g. complex configuration to setup
    public const CATEGORY_COMPLEX = 'cat_complex';

    // e.g. get last 5 posts
    public const CATEGORY_DYNAMIC = 'cat_dynamic';

    // e.g. add script tag in page, no visible output, processing in background
    public const CATEGORY_PROCESS = 'cat_process';

    // e.g. miscellaneous
    public const CATEGORY_MISC = 'cat_misc';

    public static function getAll(): array
    {
        return [
            self::CATEGORY_LAYOUT,
            self::CATEGORY_MEDIA,
            self::CATEGORY_TEXT,
            self::CATEGORY_DYNAMIC,
            self::CATEGORY_PROCESS,
            self::CATEGORY_COMPLEX,
            self::CATEGORY_MISC,
        ];
    }
}