Design pattern October 21, 2015 0 Flyweight and immutability design pattern: a perfect match The flyweight pattern is a relatively unknown design pattern in PHP. The fundamental principle behind…