MongoDB\Driver\Server
MongoDB\Driver\Server::executeBulkWrite
MongoDB\Driver\Server
PHP Manual

# MongoDB\Driver\Server::__construct

(mongodb >=0.2.0)

MongoDB\Driver\Server::__construct — Description

### Description

final public MongoDB\Driver\Server::__construct ( string `$host` , string `$port` [, array `$options` [, array `$driverOptions` ]] )

### Parameters

`host`

`port`

`options`

`driverOptions`

### Return Values

### Errors/Exceptions

### Examples

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

`<?php
/* ... */
?>`

The above example will output something similar to:

    ...

### See Also

MongoDB\Driver\Server
MongoDB\Driver\Server::executeBulkWrite
MongoDB\Driver\Server
PHP Manual