note 58347 deleted from language.oop5.patterns by danbrown

From: Date: Sun, 23 Jan 2011 16:45:24 +0000
Subject: note 58347 deleted from language.oop5.patterns by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-176119@lists.php.net to get a copy of this message
Note Submitter: peetersdiet at gmail dot com ---- As i reread my previous post i noticed 1 minor error. Namely that it is best to declare the singletonFactory()-method protected if u don't need to be able to use the method publicly. This way the implementation incorporates even better encapsulation.

« previous php.notes (#176119) next »