<?php

namespace reCAPTCHA\config;

use Exception;
use traits\module_config_variable;

class reCAPTCHA_enabled_c
{
    use module_config_variable;

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