Member since 1 year ago
Classic closure is perfect for this kind of use case
It looks pretty much the exact function as abstract class. I still think interfaces/contracts should not include any concrete implementation