How to load singleton library |
[eluser]Kamarg[/eluser]
In order to properly implement the singleton pattern, construct is almost always private. However, in PHP there is rarely any reason to actually use the singleton pattern. You might want to rethink your reasoning. More reading on why not to use singletons in PHP. |
Messages In This Thread |
How to load singleton library - by El Forum - 03-17-2012, 02:17 AM
How to load singleton library - by El Forum - 03-17-2012, 05:20 AM
How to load singleton library - by El Forum - 03-19-2012, 06:18 AM
How to load singleton library - by El Forum - 03-19-2012, 05:36 PM
How to load singleton library - by El Forum - 03-19-2012, 06:09 PM
|