function Table::addRow
Return value
$this
2 calls to Table::addRow()
- Table::addRows in vendor/
symfony/ console/ Helper/ Table.php - Table::appendRow in vendor/
symfony/ console/ Helper/ Table.php - Adds a row to the table, and re-renders the table.
File
-
vendor/
symfony/ console/ Helper/ Table.php, line 215
Class
- Table
- Provides helpers to display a table.
Namespace
Symfony\Component\Console\HelperCode
public function addRow(TableSeparator|array $row) : static {
if ($row instanceof TableSeparator) {
$this->rows[] = $row;
return $this;
}
$this->rows[] = array_values($row);
return $this;
}