O'Reilly logo
  • Curtis Turner thinks this is interesting:

This process reveals how polymorphism works. Each request for the concrete method’s algorithm is through a Context instance, and so the requests for all of them look exactly alike: $context->algorithm().


Cover of Learning PHP Design Patterns


So this is what' OO is all about.