Provides helpers to display a table.
Methods | ||
---|---|---|
public
|
__construct(OutputInterface $output)
|
# |
public
static
|
setStyleDefinition(string $name, TableStyle $style)
|
# |
public
static
|
getStyleDefinition(string $name): TableStyle
|
# |
public
|
setStyle(TableStyle|string $name): $this
|
# |
public
|
getStyle(): TableStyle
|
# |
public
|
setColumnStyle(int $columnIndex, TableStyle|string $name): $this
|
# |
public
|
getColumnStyle(int $columnIndex): TableStyle
|
# |
public
|
setColumnWidth(int $columnIndex, int $width): $this
|
# |
public
|
setColumnWidths(array $widths): $this
|
# |
public
|
setColumnMaxWidth(int $columnIndex, int $width): $this
|
# |
public
|
setHeaders(array $headers): $this
|
# |
public
|
setRows(array $rows)
|
# |
public
|
addRows(array $rows): $this
|
# |
public
|
addRow($row): $this
|
# |
public
|
appendRow($row): $this
|
# |
public
|
setRow($column, array $row): $this
|
# |
public
|
setHeaderTitle(?string $title): $this
|
# |
public
|
setFooterTitle(?string $title): $this
|
# |
public
|
setHorizontal(bool $horizontal = true): $this
|
# |
public
|
render()
|
# |