Bånder

Lines extends Collection
in package

Table of Contents

Properties

$index  : int

Methods

advance()  : string|null
Advances to the next usable line and returns the new line
consume()  : string|null
Similar to the above advance() method, except this returns the CURRENT line before advancing
consumeItems()  : Items
consumeUntil()  : Collection
current()  : string|null
currentIsBlank()  : bool
hasItems()  : bool
isDivider()  : bool
isGroupTitle()  : bool
isModuleName()  : bool
isNote()  : bool
isTableHeading()  : bool
items()  : Items
next()  : string|null
nextIsBlank()  : bool
previous()  : string|null
previousIsBlank()  : bool
shouldIgnore()  : bool
startAt()  : string|null
step()  : string|null
Moves one line forward, regardless of what it is

Properties

$index

protected int $index = 0

Methods

advance()

Advances to the next usable line and returns the new line

public advance() : string|null
Return values
string|null

consume()

Similar to the above advance() method, except this returns the CURRENT line before advancing

public consume() : string|null
Return values
string|null

consumeUntil()

public consumeUntil(callable $callback) : Collection
Parameters
$callback : callable
Return values
Collection

current()

public current() : string|null
Return values
string|null

currentIsBlank()

public currentIsBlank() : bool
Return values
bool

hasItems()

public hasItems() : bool
Return values
bool

isDivider()

public isDivider() : bool
Return values
bool

isGroupTitle()

public isGroupTitle() : bool
Return values
bool

isModuleName()

public isModuleName() : bool
Return values
bool

isNote()

public isNote() : bool
Return values
bool

isTableHeading()

public isTableHeading() : bool
Return values
bool

next()

public next() : string|null
Return values
string|null

nextIsBlank()

public nextIsBlank() : bool
Return values
bool

previous()

public previous() : string|null
Return values
string|null

previousIsBlank()

public previousIsBlank() : bool
Return values
bool

shouldIgnore()

public shouldIgnore() : bool
Return values
bool

startAt()

public startAt(mixed $contents) : string|null
Parameters
$contents : mixed
Return values
string|null

step()

Moves one line forward, regardless of what it is

public step() : string|null
Return values
string|null

        
On this page

Search results