<?php

namespace n8n\config;

use Exception;
use traits\module_config_variable;

class n8n_enabled_c
{
    use module_config_variable;

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