public function reconnection($obj): bool
    {
        $resId = $this->genID($obj);
        $info  = $this->getMeta($resId);

        if (!$obj->connect($info)) {
            $this->destroy($obj);
            return false;
        }

        return true;
    }
public function reconnection($obj): bool
    {
        $resId = $this->genID($obj);
        $info  = $this->getMeta($resId);

        if (!$obj->connect($info)) {
            $this->destroy($obj);
            return false;
        }

        return true;
    }
public function reconnection ( $ obj ) : bool { $ resId = $ this -> genID ( $ obj ) ; $ info = $ this -> getMeta ( $ resId ) ; if ( ! $ obj -> connect ( $ info ) ) { $ this -> destroy ( $ obj ) ; return false ; } return true ; }
reconnection to DB server
@param mixed|MySQL $obj
@return bool
reconnection to DB server