Lines
implements
Iterator
-
implements
-
Interfaces, Classes and Traits
- Iterator
Table of Contents
-
$lines
: array<string|int, string>
-
$position
: int
-
__construct()
: mixed
-
current()
: string
-
getNextLine()
: string
-
key()
: int
-
next()
: void
-
rewind()
: void
-
valid()
: bool
$lines
private
array<string|int, string>
$lines
$position
private
int
$position
= 0
__construct()
public
__construct(array<string|int, string> $lines) : mixed
Parameters
-
$lines
: array<string|int, string>
-
Return values
mixed
—
current()
public
current() : string
Return values
string
—
getNextLine()
public
getNextLine() : string
Return values
string
—
key()
public
key() : int
Return values
int
—
next()
public
next() : void
Return values
void
—
rewind()
public
rewind() : void
Return values
void
—
valid()
public
valid() : bool
Return values
bool
—