<?php

namespace weatherapi\config;

use Exception;
use traits\module_config_variable;

class weatherapi_enabled_c
{
    use module_config_variable;

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