| Methods | ||
|---|---|---|
public
|
__construct(array $options = [])
|
# |
public
|
getOptions(): array
|
# |
public
|
getTagOptions(): string[]
|
# |
public
|
getPadByAlign(): int
|
# |
public
|
getCellFormat(): ?string
|
# |
| Constants | ||
|---|---|---|
public
|
DEFAULT_ALIGN = 'left'
|
# |
private
|
TAG_OPTIONS = ['fg', 'bg', 'options']
|
# |
private
|
ALIGN_MAP = ['left' => STR_PAD_RIGHT, 'center' => STR_PAD_BOTH, 'right' => STR_PAD_LEFT]
|
# |
| Properties | |||
|---|---|---|---|
private
|
array
|
$options = [
'fg' => 'default',
'bg' => 'default',
'options' => null,
'align' => self::DEFAULT_ALIGN,
'cellFormat' => null,
]
|
# |