ContentChunk
extends Data
Table of Contents
Properties
-
$content
: string
-
$endLine
: int
-
$hasMore
: bool
-
$startLine
: int
-
$totalLines
: int
Methods
-
__construct()
: mixed
-
create()
: self
-
getLineCount()
: int
-
getLines()
: array<string|int, mixed>
-
isEmpty()
: bool
$content
read-only
public
string
$content
$endLine
read-only
public
int
$endLine
$hasMore
read-only
public
bool
$hasMore
$startLine
read-only
public
int
$startLine
$totalLines
read-only
public
int
$totalLines
__construct()
public
__construct(string $content, int $startLine, int $endLine, int $totalLines, bool $hasMore) : mixed
Parameters
-
$content
: string
-
-
$startLine
: int
-
-
$endLine
: int
-
-
$totalLines
: int
-
-
$hasMore
: bool
-
create()
public
static create(string $content, int $startLine, int $endLine, int $totalLines) : self
Parameters
-
$content
: string
-
-
$startLine
: int
-
-
$endLine
: int
-
-
$totalLines
: int
-
getLineCount()
public
getLineCount() : int
getLines()
public
getLines() : array<string|int, mixed>
Return values
array<string|int, mixed>
isEmpty()
public
isEmpty() : bool