MongoDB\Driver\Server
PHP Manual

MongoDB\Driver\Server::__construct

(mongodb >=0.2.0)

MongoDB\Driver\Server::__constructDescription

Descripción

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

Parámetros

host

port

options

driverOptions

Valores devueltos

Errores/Excepciones

Ejemplos

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

<?php

/* ... */

?>

El resultado del ejemplo sería algo similar a:

...

Ver también


MongoDB\Driver\Server
PHP Manual