/** * */ public function __destruct() { if (!$this->newConnection) { try { $this->mysqlConnections->removeClient($this); } catch (MysqlConnectionException $e) { //client already removed } } }
/** * */ public function __destruct() { if (!$this->newConnection) { try { $this->mysqlConnections->removeClient($this); } catch (MysqlConnectionException $e) { //client already removed } } }