Member since 2 years 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