DbPatch_Core_Db::reconnect PHP Метод

reconnect() публичный Метод

Reconnect to the database, this will create a new adapter instance.
public reconnect ( ) : DbPatch_Core_Db
Результат DbPatch_Core_Db
    public function reconnect()
    {
        // this simulates unserialize(serialize($obj)) without
        // actually serializing
        $this->getAdapter()->__sleep();
        $this->getAdapter()->__wakeup();
    }