PHP Classes

MSingleton: Manage singleton objects

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 296 All time: 7,455 This week: 206Up
Version License PHP version Categories
msingleton 0.1GNU General Publi...5.3PHP 5, Design Patterns
Description 

Author

This class can be used to manage singleton objects.

It can assure that only one object of the class exists by storing the first instance of the class in a static variable.

Applications should create sub-classes of this class to manage singletons of different classes.

Picture of Artem
Name: Artem <contact>
Classes: 1 package by
Country: Ukraine Ukraine

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file MSingleton.php Class Signleton factory parent class
Accessible without login Plain text file msingleton_example.php Example Example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:296
This week:0
All time:7,455
This week:206Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3001
 
You should change the PHP version requirement to 5.
14 years ago (Artur Graniszewski)
57%StarStarStar