Advanced PHP: How to use the Singleton Design Pattern

Submitted by Adam » The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a method for limiting the number of instances of an object to just one. It's an easy pattern to grasp once you get past the strange syntax used.
Rating: 3.8/5 | 692 clicks | 0 comments | 1 save | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.