note 103152 deleted from language.oop5.patterns by danbrown
| From: | danbrown@php.net | Date: | Tue, 29 Mar 2011 14:05:03 +0000 |
| Subject: | note 103152 deleted from language.oop5.patterns by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178299@lists.php.net to get a copy of this message | ||
Note Submitter: melindrea at hotmail dot com
----
I have been working on the Lazy Initialization pattern added by sjh on January 21st.
It has a few errors in it, including typos (abstract class, not abstract function), and a huge
logical error: The constructor is private, but using ReflectionClass::newInstance() throws a
ReflectionException if the constructor is not public.