Simple Strategy pattern example

Simple Strategy pattern example in PHP