Single Class Instances and Design Patterns in PHP

At some point in time working with OOP applications will involve the need to create classes that have restricted numbers of instances. Single instances classes or 'singletons' are classes that require only one object (a single class instance) which can be recalled and reused anywhere in the code-base. An often »