src/CommandEntry.php
public static function load(string $dir): void
    {
        self::initialize();

        /* Make Directory */
        $commandDir = $_SERVER['DOCUMENT_ROOT'] . $dir;

        /* Get All Files In Directory */
        $files = scandir($commandDir);

        /* Require Files */
        foreach ($files as $file) {
            if ($file == '.' || $file == '..') {
                continue;
            }

            require_once $_SERVER['DOCUMENT_ROOT'] . $dir . '/' . $file;
        }
    }
public static function load(string $dir): void
    {
        self::initialize();

        /* Make Directory */
        $commandDir = $_SERVER['DOCUMENT_ROOT'] . $dir;

        /* Get All Files In Directory */
        $files = scandir($commandDir);

        /* Require Files */
        foreach ($files as $file) {
            if ($file == '.' || $file == '..') {
                continue;
            }

            require_once $_SERVER['DOCUMENT_ROOT'] . $dir . '/' . $file;
        }
    }
Load all command classes

@param string $dir
@return void