PHP Classes

Singleton Registry: Register key values in a singleton object

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 325 All time: 7,196 This week: 560Up
Version License PHP version Categories
singleton-registry 0.1Artistic License5.1.0PHP 5, Design Patterns


This class can be used to register key values in a singleton object.

It creates or reuse a singleton object by storing it in a class static variable.

The singleton object is used to store, retrieve and delete keys associated to given values.

Picture of Jason Hopkins
Name: Jason Hopkins <contact>
Classes: 1 package by
Country: United States United States
Age: 37
All time rank: 3763495 in United States United States
Week rank: 161 Up16 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file Registry.php Class A KISS-based singleton registry
Accessible without login Plain text file doc.txt Doc. Class documentation and examples.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,196
This week:560Up