Recommend this page to a friend! |
![]() |
Info | Example | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 250 | All time: 7,925 This week: 49![]() |
Version | License | PHP version | Categories | |||
singleton-trait 3.2 | MIT/X Consortium ... | 5.4 | PHP 5, Language, Design Patterns, Traits |
Description | Author | |
This is a trait that adds singleton pattern to a class. |
|
<?php
|
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Conf. | Composer File | ||
![]() ![]() |
Lic. | License (MIT) | ||
![]() ![]() |
Test | Unit Testing | ||
![]() ![]() |
Doc. | README |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Reuses | Unique User Downloads | Download Rankings | ||||||||||||||||
0% | 1 |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Other classes that need this package |
Class | Why it is needed | Dependency |
---|---|---|
PHP Registry with Singleton Trait | Required to make registry a singleton | Required |
Related pages |
Location in Git Hub Repository |
Info on Singleton Pattern |
Traits Explanation |
Singleton Class Explanation |