10-20-2007, 06:16 PM
|
#3 (permalink)
|
|
The Gregarious
Join Date: Oct 2007
Location: Manchester, UK
Posts: 718
Thanks: 29
|
to further enforce this pattern you may want to either make the magic method __clone() private or just make the script die when this function is called, this is so that clones of the singleton object cannot be made.
__________________
sudo chown -R us ./allyourbase
|
|
|
|