Design Pattern examples for PHP