LMongo\Query\Cursor::__construct PHP Method

__construct() public method

Constructor, sets the cursor
public __construct ( MongoCursor $cursor )
$cursor MongoCursor
    public function __construct($cursor)
    {
        $this->cursor = $cursor;
    }