Introduction In the past several months I’ve been working with a rather large application built with symfony. I noticed that symfony makes heavy use of the Singleton pattern (other frameworks, like Zend do that too); everywhere in the code there were pieces like this one: <?php // ... sfSomething::getInstance(); // ... ?> I know that in more than half of the situations, you can write your code usi
