Skip to content

Latest commit

 

History

History
149 lines (47 loc) · 1.09 KB

TableCellStyle.md

File metadata and controls

149 lines (47 loc) · 1.09 KB

TableCellStyle

  • Full name: \Symfony\Component\Console\Helper\TableCellStyle

Constants

Constant Visibility Type Value
DEFAULT_ALIGN public 'left'
TAG_OPTIONS private ['fg', 'bg', 'options']
ALIGN_MAP private ['left' => \STR_PAD_RIGHT, 'center' => \STR_PAD_BOTH, 'right' => \STR_PAD_LEFT]

Properties

options

private $options

Methods

__construct

public __construct(array $options = []): mixed

Parameters:

Parameter Type Description
$options array

getOptions

public getOptions(): array

getTagOptions

Gets options we need for tag for example fg, bg.

public getTagOptions(): string[]

getPadByAlign

public getPadByAlign(): int

getCellFormat

public getCellFormat(): ?string