src/System/Console.php
public static function table(array $rows, array $headers = [])
    {
        $table = new Table();
        $table->setRows($rows);
        if (count($headers) > 0) {
            $table->setHeaders($headers);
        }
        $output = $table->render();
        self::writeln($output);
    }
public static function table(array $rows, array $headers = [])
    {
        $table = new Table();
        $table->setRows($rows);
        if (count($headers) > 0) {
            $table->setHeaders($headers);
        }
        $output = $table->render();
        self::writeln($output);
    }
Show table.

@param array $rows
@param array $headers Default [].