How to Change Algorithms in Symfony without Code Modifications: The Strategy Pattern
Ever been in a situation where you had to switch between multiple behaviors in your application, only to end up with endless if/else or switch blocks? Not only does it look ugly, but it also becomes harder to maintain as the application grows.
Think ...
ngandu.hashnode.dev5 min read