/**
* Calculate number of columns for this table.
*/
private function calculateNumberOfColumns(array
$rows): void
{ $columns =
[0
];
foreach ($rows as $row) { if ($row instanceof TableSeparator
) { continue;
} $columns[] =
$this->
getNumberOfColumns($row);
} $this->numberOfColumns =
max($columns);
} private function buildTableRows(array
$rows): TableRows
{ /** @var WrappableOutputFormatterInterface $formatter */
$formatter =
$this->output->
getFormatter();
$unmergedRows =
[];
for ($rowKey = 0;
$rowKey < \
count($rows); ++
$rowKey) {