<?php

namespace attachments\config;

use Exception;
use traits\module_config_variable;

class attachments_enabled_c
{
    use module_config_variable;

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