<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'PHP Singleton Class'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 10:45:05 GMT</pubDate>
<item>
<title>MichaelR said on 12/22/09</title>
<link>http://snipplr.com/view/8443/php-singleton-class/</link>
<description><![CDATA[ Note; you can also define the class as abstract, and then not need to have a private __construct(). ]]></description>
<pubDate>Tue, 22 Dec 2009 10:33:30 GMT</pubDate>
<guid>http://snipplr.com/view/8443/php-singleton-class/</guid>
</item>
<item>
<title>MichaelR said on 12/22/09</title>
<link>http://snipplr.com/view/8443/php-singleton-class/</link>
<description><![CDATA[ It should be:

public STATIC function getInstance ($strClassName) {
...
}

(Capitalization just to emphasize my fix). ]]></description>
<pubDate>Tue, 22 Dec 2009 10:18:15 GMT</pubDate>
<guid>http://snipplr.com/view/8443/php-singleton-class/</guid>
</item>
</channel>
</rss>
