Guides

TableSeparatorLineConfig
in package

FinalYes

Table of Contents

Properties

$isHeader  : bool
$lineCharacter  : string
$partRanges  : array
$rawContent  : string

Methods

__construct()  : mixed
getLineCharacter()  : string
Returns the "line" character used in the separator, either - or =
getPartRanges()  : int[][]
Returns an array of position "ranges" where content should exist.
getRawContent()  : string
isHeader()  : bool

Properties

Methods

__construct()

public __construct(bool $isHeader, int[][] $partRanges, string $lineCharacter, string $rawContent) : mixed
Parameters
$isHeader : bool
$partRanges : int[][]
$lineCharacter : string
$rawContent : string

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() : int[][]

For example: === ===== === ===

Would yield: [[0, 3], [6, 11], [14, 17], [18, 21]]

Return values
int[][]
On this page

Search results