/** * Conecta no banco */ protected function connect() { try { $this->con = PDOSingleton::getInstance($this->dbType . ":host=" . $this->host . ";dbname=" . $this->db, $this->user, $this->password); } catch (Exception $e) { echo "ERRO ..." . $e->getMessage() . " "; die; } }