A simple Filter Chain example in PHP 5
Filter chains can be really useful when you want to pass an object (or several objects) through a series of tests in a scalable fashion. An example may be performing some request validation/filtering before your application starts to do anything too specific with it.
The idea behind a filter chain is that you create a […]