MongoDB\Driver\Cursor
PHP Manual

MongoDB\Driver\Cursor::__construct

(mongodb >=0.2.0)

MongoDB\Driver\Cursor::__constructDescription

Description

final public MongoDB\Driver\Cursor::__construct ( Server $server , string $responseDocument )

Parameters

server

responseDocument

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\Driver\Cursor::__construct() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\Driver\Cursor
PHP Manual