<?php

namespace failover\config;

use Exception;
use traits\module_config_variable;

class failover_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'Failover',
            'enabled',
            'bool',
            true,
            null,
            'Whether automatic failover is enabled.',
            'false',
            false,
            'false'
        );
    }
}
