src/Console.php
static function call(string $name, array $params) {
        if (!isset(self::$callbacks[$name]))
            self::warning("Console callback \"$name\" do not exist.");
        $callback = self::$callbacks[$name];
        $callback($params);
    }
static function call(string $name, array $params) {
        if (!isset(self::$callbacks[$name]))
            self::warning("Console callback \"$name\" do not exist.");
        $callback = self::$callbacks[$name];
        $callback($params);
    }
调用控制台函数

@param string $name
@param array $params