Documentation

Chunk
in package
implements IteratorAggregate

FinalYes
Tags
template-implements

Table of Contents

Interfaces

IteratorAggregate

Properties

$end  : int
$endRange  : int
$lines  : array<int, Line>
$start  : int
$startRange  : int

Methods

__construct()  : mixed
end()  : int
endRange()  : int
getIterator()  : Traversable
lines()  : array<int, Line>
setLines()  : void
start()  : int
startRange()  : int

Properties

$endRange

private int $endRange

$startRange

private int $startRange

Methods

__construct()

public __construct([int $start = 0 ][, int $startRange = 1 ][, int $end = 0 ][, int $endRange = 1 ][, array<int, Line$lines = [] ]) : mixed
Parameters
$start : int = 0
$startRange : int = 1
$end : int = 0
$endRange : int = 1
$lines : array<int, Line> = []

end()

public end() : int
Return values
int

endRange()

public endRange() : int
Return values
int

getIterator()

public getIterator() : Traversable
Return values
Traversable

lines()

public lines() : array<int, Line>
Return values
array<int, Line>

setLines()

public setLines(array<int, Line$lines) : void
Parameters
$lines : array<int, Line>

start()

public start() : int
Return values
int

startRange()

public startRange() : int
Return values
int
On this page

Search results