Strategy pattern PHP implementation v0.3