Bånder

ContentChunk extends Data
in package

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

Properties

Methods

__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
Return values
self

getLineCount()

public getLineCount() : int
Return values
int

getLines()

public getLines() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results