private function Table::renderRow in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Helper/Table.php \Symfony\Component\Console\Helper\Table::renderRow()
Renders table row.
Example: | 9971-5-0210-0 | A Tale of Two Cities | Charles Dickens |
Parameters
array $row:
string $cellFormat:
1 call to Table::renderRow()
- Table::render in vendor/
symfony/ console/ Helper/ Table.php - Renders table to output.
File
- vendor/
symfony/ console/ Helper/ Table.php, line 271
Class
- Table
- Provides helpers to display a table.
Namespace
Symfony\Component\Console\HelperCode
private function renderRow(array $row, $cellFormat) {
if (empty($row)) {
return;
}
$this
->renderColumnSeparator();
foreach ($this
->getRowColumns($row) as $column) {
$this
->renderCell($row, $column, $cellFormat);
$this
->renderColumnSeparator();
}
$this->output
->writeln('');
}