This is the code that I describe in my blog post discussing refactoring inheritance to composition. You can find the post here: http://giorgosgaganis.com/2016/10/20/refactoring-inheritance-to-composition-a-practical-step-by-step-example
This is the code that I describe in my blog post discussing refactoring inheritance to composition. You can find the post here: http://giorgosgaganis.com/2016/10/20/refactoring-inheritance-to-composition-a-practical-step-by-step-example