<?php

namespace Config;

/**
 * CodeIgniter 4 — System Paths
 */
class Paths
{
    /**
     * Path to the CodeIgniter 4 system folder.
     * Adjust if vendor path differs.
     */
    public string $systemDirectory = __DIR__ . '/../../vendor/codeigniter4/framework/system';

    /**
     * Path to the application folder.
     */
    public string $appDirectory = __DIR__ . '/..';

    /**
     * Path to the writable (cache/logs/session/uploads) folder.
     */
    public string $writableDirectory = __DIR__ . '/../../writable';

    /**
     * Path to the tests folder.
     */
    public string $testsDirectory = __DIR__ . '/../../tests';

    /**
     * Path to the views folder.
     */
    public string $viewDirectory = __DIR__ . '/../Views';
}

// NOTE: In CI4 4.4+, public/index.php does:  new Paths()  directly.
// Do NOT return an instance here.
