Classes/Console/Install/Upgrade/UpgradeWizardListRenderer.php
public function render(array $upgradeWizardList, ConsoleOutput $output, $verbose = false)
    {
        if (empty($upgradeWizardList)) {
            $output->outputLine('<info>None</info>');

            return;
        }
        $tableHeader = ['Identifier', 'Title'];
        if ($verbose) {
            $tableHeader = ['Identifier', 'Description'];
        }

        $tableRows = [];
        foreach ($upgradeWizardList as $identifier => $info) {
            $row = [
                $identifier,
                wordwrap($info['title'], 40),
            ];
            if ($verbose) {
                $row = [
                    $identifier,
                    wordwrap($info['explanation'], 40),
                ];
            }
            $tableRows[] = $row;
            $tableRows[] = new TableSeparator();
        }
        array_pop($tableRows);

        $output->outputTable($tableRows, $tableHeader);
    }
public function render(array $upgradeWizardList, ConsoleOutput $output, $verbose = false)
    {
        if (empty($upgradeWizardList)) {
            $output->outputLine('<info>None</info>');

            return;
        }
        $tableHeader = ['Identifier', 'Title'];
        if ($verbose) {
            $tableHeader = ['Identifier', 'Description'];
        }

        $tableRows = [];
        foreach ($upgradeWizardList as $identifier => $info) {
            $row = [
                $identifier,
                wordwrap($info['title'], 40),
            ];
            if ($verbose) {
                $row = [
                    $identifier,
                    wordwrap($info['explanation'], 40),
                ];
            }
            $tableRows[] = $row;
            $tableRows[] = new TableSeparator();
        }
        array_pop($tableRows);

        $output->outputTable($tableRows, $tableHeader);
    }
Renders a table for upgrade wizards

@param array $upgradeWizardList
@param ConsoleOutput $output
@param mixed $verbose