public function addConnection(Connection $connection): bool
    {
        $this->init();
        $this->connectionPool->addConnection($connection);

        return true;
    }
public function addConnection(Connection $connection): bool
    {
        $this->init();
        $this->connectionPool->addConnection($connection);

        return true;
    }
public function addConnection ( Connection $ connection ) : bool { $ this -> init ( ) ; $ this -> connectionPool -> addConnection ( $ connection ) ; return true ; }
Main entry point to openning a connection and start using Mongolid in
pure PHP. After adding a connection into the Manager you are ready to
persist and query your models.

@param Connection $connection connection instance to be used in database interactions

@return bool Success
Main entry point to openning a connection and start using Mongolid in pure PHP . After adding a connection into the Manager you are ready to persist and query your models .