Index Documentation

DbResultIterator
in package
implements Iterator

Implements an iterator and constructor wrapper for IDbResult.

Table of Contents

Interfaces

Iterator

Methods

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

Methods

__construct()

Call this through an IDbResult instance instead!

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

Result to operate on.

$construct : callable(IDbResult): object

Constructor callback.


        
On this page

Search results