Finely chop the eggplants, sprinkle them with salt and leave for 20 minutes to release moisture. Rinse well. Simmer in a frying pan until tender. During cooking, add garlic and a little salt (some of the salt from the eggplant has already been absorbed at the initial stage).