Fry the onion over a medium heat with some olive oil until soft and browned.
Add garlic and fry for 1 minute.
In a bowl, mix fried onions with other ingredients and combine well.
Form into 4 patties and grill on a skillet pan with olive oil, turning once, until charred and cooked all the way through, about 3 minutes on each side.