PHP Classes

Singleton Interface: Implementation of the singleton design pattern

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
Not enough user ratingsTotal: 869 All time: 4,039 This week: 560Up
Version License PHP version Categories
singleton_interface 1.0GNU General Publi...5.0PHP 5, Design Patterns
Description 

Author

This package can be use as the base for implementing the singleton design pattern.

It provides a simple interface definition that all classes can use to implement singletons.

The package also comes with an autoload to load classes or interfaces with the Zend framework if available, or directly from class files otherwise.

Picture of MARY Matthieu
Name: MARY Matthieu <contact>
Classes: 19 packages by
Country: France, Metropolitan
Age: 45
All time rank: 251 in France, Metropolitan
Week rank: 164 Down1 in France, Metropolitan Equal

  Files folder image Files (2)  
File Role Description
Files folder imageSingleton (1 file)
Accessible without login Plain text file Autoload.php Aux. loader

  Files folder image Files (2)  /  Singleton  
File Role Description
  Plain text file Interface.php Class Interface for singletons classes

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:869
This week:0
All time:4,039
This week:560Up