Documentation

TableSeparatorLineConfig
in package

Table of Contents

$isHeader  : bool
$lineCharacter  : string
$partRanges  : array<string|int, array<string|int, int>>
$rawContent  : string
$tableType  : string
__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
isSimpleTableType()  : bool

Properties

Methods

__construct()

public __construct(bool $isHeader, string $tableType, array<string|int, array<string|int, int>> $partRanges, string $lineCharacter, string $rawContent) : mixed
Parameters
$isHeader : bool
$tableType : string
$partRanges : array<string|int, array<string|int, int>>
$lineCharacter : string
$rawContent : string
Return values
mixed

getLineCharacter()

Returns the "line" character used in the separator, either - or =

public getLineCharacter() : string
Return values
string

getPartRanges()

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>>

Search results