BSONIterator
in package
implements
Iterator
Iterator for BSON documents.
Interfaces, Classes, Traits and Enums
- Iterator
Table of Contents
- $bsonSize : int
- $buffer : string
- $bufferLength : int
- $current : mixed
- $key : int
- $options : array<string|int, mixed>
- $position : int
- current() : mixed
- key() : mixed
- next() : void
- rewind() : void
- valid() : bool
- advance() : mixed
Properties
$bsonSize
private
static int
$bsonSize
= 4
$buffer
private
string
$buffer
$bufferLength
private
int
$bufferLength
$current
private
mixed
$current
$key
private
int
$key
= 0
$options
private
array<string|int, mixed>
$options
$position
private
int
$position
= 0
Methods
current()
public
current() : mixed
Tags
Return values
mixed —key()
public
key() : mixed
Tags
Return values
mixed —next()
public
next() : void
Tags
Return values
void —rewind()
public
rewind() : void
Tags
Return values
void —valid()
public
valid() : bool
Tags
Return values
bool —advance()
private
advance() : mixed