<?php

namespace dynamicimages\config;

use Exception;
use traits\module_config_variable;

class dynamicimages_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'dynamicimages',
            'enabled',
            'bool',
            true,
            null,
            'Whether the dynamic images module is enabled',
            '1',
            false,
            'false'
        );
    }
}