/** * Cleans up sensitive data before being used in debug output */ public function cleanupForDebug() { unset($this->db); $this->plugin->remove('wpdb'); $this->plugin->remove('data'); $this->config->strategy->cleanupForDebug(); }
/** * Clean up the internal members for debug output * * @return void */ public function cleanupForDebug() { $this->plugin->remove('wpdb'); }