public static function resetConnection() { if (self::$_connection !== null && self::$_connection->isConnected()) { self::$_connection->disconnect(); self::$_connection = self::createConnection(); } }
public static function resetConnection() { if (self::$_connection !== null && self::$_connection->isConnected()) { self::$_connection->disconnect(); self::$_connection = self::createConnection(); } }