Index Documentation

DbResultIterator
in package
implements Iterator

Implements an iterator and constructor wrapper for DbResult.

Table of Contents

Interfaces

Iterator

Methods

__construct()  : mixed
Call this through an DbResult instance instead!
current()  : mixed
key()  : mixed
next()  : void
rewind()  : void
valid()  : bool

Methods

__construct()

Call this through an DbResult instance instead!

public __construct(DbResult $result, callable(DbResult): object $construct) : mixed
Parameters
$result : DbResult

Result to operate on.

$construct : callable(DbResult): object

Constructor callback.


        
On this page

Search results