Method | Description | |
---|---|---|
__construct ( |
Creates a new table. | |
addRow ( array $row ) : static | Adds a row to the table. | |
addRows ( array $rows ) : static | Adds rows to the table. | |
render ( |
Renders the table. | |
setHeaderRow ( array $row ) : static | Sets the header cells of the table. | |
setRow ( integer $index, array $row ) : static | Sets a specific row in the table. | |
setRows ( array $rows ) : static | Sets the rows in the table. |
Method | Description | |
---|---|---|
getCellWrapper ( Webmozart\Console\Api\Formatter\Formatter $formatter, $screenWidth, $excessColumnWidth, $indentation ) | ||
renderRows ( |
public __construct ( |
||
$style | The rendering style. By default, the table is rendered with the style {@link TableStyle::asciiBorder()}. |
public setHeaderRow ( array $row ) : static | ||
$row | array | The header cells. |
return | static | The current instance. |