How to Decorate in PHP