lithium\data\source\MongoDb::connect()
Implements
lithium\data\Source::connect()
Connections are created lazily on read/write queries so this method is not applicable.
Returns
booleanReturns true
.
Source
public function connect() {
$manager = $this->_classes['manager'];
$this->manager = new $manager(
$this->_config['dsn'],
$this->_config['uriOptions'],
$this->_config['driverOptions']
);
return $this->_isConnected = true;
}