(mongodb >=0.2.0)
MongoDB\Driver\Cursor::getServer — Returns the Server object to which this cursor is attached
This function has no parameters.
Example #1 MongoDB\Driver\Cursor::getServer() example
<?php
/* ... */
?>
The above example will output something similar to:
...