Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-07-10 (3 months ago) ![]() | Not enough user ratings | Total: 228 This week: 2 | All time: 7,593 This week: 591![]() |
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. |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Conf. | Composer File | ||
![]() ![]() |
Lic. | License (MIT) | ||
![]() ![]() |
Test | Unit Testing | ||
![]() ![]() |
Doc. | README |
![]() |
/ | Falcraft | / | Patterns |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Example | A registry singleton example | ||
![]() |
Class | The Singleton Trait |
![]() |
/ | Falcraft | / | Patterns | / | Exception |
File | Role | Description |
---|---|---|
![]() |
Class | Custom/Local Exception Interface |
![]() |
Class | Custom/Local Runtime Exception |
![]() |
/ | Falcraft | / | Patterns | / | Resource |
File | Role | Description |
---|---|---|
![]() |
Class | An interface to identify singletons, separate from trait |
![]() |
/ | src | / | Phabstractic |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Conf. | Loader |
![]() |
/ | src | / | Phabstractic | / | Patterns | / | Exception |
File | Role | Description |
---|---|---|
![]() |
Class | exception classification |
![]() |
Class | exception classification |
![]() |
/ | src | / | Phabstractic | / | Patterns | / | Resource |
File | Role | Description |
---|---|---|
![]() |
Class | Main Trait |
![]() |
Class | Main Trait |
![]() |
/ | tests | / | Phabstractic | / | Patterns | / | Resource |
File | Role | Description |
---|---|---|
![]() ![]() |
Test | unit testing |
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 |
Git Hub Location in Git Hub Repository |
OODesign Info on Singleton Pattern |
PHP Manual Traits Explanation |
TutorialsPoint Singleton Class Explanation |