Heat the oil in a saucepan and add the onion and apple. Cook for 3-4 minutes until starting to soften.
Add the thyme and the beans and season well. Pour in the cider and the stock, bring to the boil and simmer until the onions are tender.
Take out the thyme sprigs, add the parsley and liquidise until smooth.