Flyweight php pattern