connect() public méthode

Wrapper method for MongoClient::connect().
See also: http://php.net/manual/en/mongoclient.connect.php
public connect ( ) : boolean
Résultat boolean
 /**
  * Returns the result of attempting to connect to the persistent storage server
  *
  * @return boolean
  */
 public function connect()
 {
     return $this->connection->connect();
 }