<?php

namespace failover\config;

use Exception;
use traits\module_config_variable;

class failover_database_enabled_c
{
    use module_config_variable;

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