Finely chop the eggplants, cover with salt and leave for 20 minutes until moisture is released. Rinse well. Simmer in a frying pan until fully cooked. During cooking, add the garlic and a little salt (some salt has already been absorbed by the eggplant at the initial stage).