public function connect()
{
$this->initialize();
$mongoClient = $this->mongoClient;
return $this->retry(function () use($mongoClient) {
return $mongoClient->connect();
});
}
/** * Returns the result of attempting to connect to the persistent storage server * * @return boolean */ public function connect() { return $this->connection->connect(); }