On Tue, Nov 8, 2011 at 9:23 AM, Sean Thayne <[email protected]> wrote: > I've recently started using it and it's quite handy. Also with the new > static keyword (PHP 5.3+) You can use the word static instead of self. > Which will protected your instances if your extending. So you could have a > SingletonBase class that your settings class would extend. And you could > have 10 classes extending that SingletonBase.
For completeness, the static keyword is not new to PHP 5.3. The context in which you are talking about using it is. -- Joseph Scott [email protected] http://josephscott.org/ _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
