TableSeparatorLineConfig
in package
FinalYes
Table of Contents
Properties
- $isHeader : bool
- $lineCharacter : string
- $partRanges : array<string|int, mixed>
- $rawContent : string
Methods
- __construct() : mixed
- getLineCharacter() : string
- Returns the "line" character used in the separator, either - or =
- getPartRanges() : array<string|int, array<string|int, int>>
- Returns an array of position "ranges" where content should exist.
- getRawContent() : string
- isHeader() : bool
Properties
$isHeader read-only
private
bool
$isHeader
$lineCharacter read-only
private
string
$lineCharacter
$partRanges read-only
private
array<string|int, mixed>
$partRanges
$rawContent read-only
private
string
$rawContent
Methods
__construct()
public
__construct(bool $isHeader, array<string|int, array<string|int, int>> $partRanges, string $lineCharacter, string $rawContent) : mixed
Parameters
- $isHeader : bool
- $partRanges : array<string|int, array<string|int, int>>
- $lineCharacter : string
- $rawContent : string
getLineCharacter()
Returns the "line" character used in the separator, either - or =
public
getLineCharacter() : string
Return values
stringgetPartRanges()
Returns an array of position "ranges" where content should exist.
public
getPartRanges() : array<string|int, array<string|int, int>>
For example: === ===== === ===
Would yield: [[0, 3], [6, 11], [14, 17], [18, 21]]
Return values
array<string|int, array<string|int, int>>getRawContent()
public
getRawContent() : string
Return values
stringisHeader()
public
isHeader() : bool