MongoClient::setReadPreference
MongoDB
MongoClient
PHP Manual

# MongoClient::__toString

(PECL mongoclient >=0.9.0)

MongoClient::__toString — String representation of this connection

### Opis

public string MongoClient::__toString ( void )

### Parametry

Ta funkcja nie posiada parametrów.

### Zwracane wartości

Returns hostname and port for this connection.

MongoClient::setReadPreference
MongoDB
MongoClient
PHP Manual