3 ms·
It really is less of an antipattern in PHP than other languages. With every request being its own process you don't have to worry about singletons as much, and
by raziel2p 12y ago
It really is less of an antipattern in PHP than other languages. With every request being its own process you don't have to worry about singletons as much, and as long as it's easy to swap with mocks/fakes/whatever it's all good.