PHP Class Doctrine\ODM\MongoDB\Cursor

This class composes a Doctrine\MongoDB\Cursor instance and wraps its methods in order to return results as hydrated document class instances. Hydration behavior may be controlled with the {@link Cursor::hydrate()} method. For compatibility, this class also extends Doctrine\MongoDB\Cursor.
Since: 1.0
Inheritance: implements Doctrine\MongoDB\CursorInterface
Datei anzeigen Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( MongoCurso\MongoCursor $mongoCursor, UnitOfWork $uow, ClassMetadata $class )
current ( )
hydrate ( $bool )

Method Details

__construct() public method

public __construct ( MongoCurso\MongoCursor $mongoCursor, UnitOfWork $uow, ClassMetadata $class )
$mongoCursor MongoCurso\MongoCursor
$uow UnitOfWork
$class Doctrine\ODM\MongoDB\Mapping\ClassMetadata

current() public method

public current ( )

hydrate() public method

public hydrate ( $bool )