<?php

namespace virkdata\config;

use Exception;
use traits\module_config_variable;

class virkdata_enabled_c
{
    use module_config_variable;

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