<?php

namespace xlvask\config;

use Exception;
use traits\module_config_variable;

class xlvask_automatic_order_attachment_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'xlvask',
            'automatic_order_attachment_enabled',
            'bool',
            true,
            null,
            'Whether XL Vask usage logs may automatically be attached to existing same-day employee orders.',
            '0',
            false,
            'false'
        );
    }
}
