<?php

namespace Config;

use CodeIgniter\Modules\Modules as BaseModules;

/**
 * Modules Configuration
 *
 * NOTE: Do NOT redeclare typed properties — parent uses untyped $var declarations.
 */
class Modules extends BaseModules
{
    /**
     * Auto-discover modules: enabled.
     *
     * @var bool
     */
    public $enabled = true;

    /**
     * Auto-discover inside Composer packages: disabled by default.
     *
     * @var bool
     */
    public $discoverInComposer = false;

    /**
     * Which discovery aliases to allow.
     *
     * @var list<string>
     */
    public $aliases = [];
}
