ID: 33575 Updated by: [EMAIL PROTECTED] Reported By: nick dot telford at ntlworld dot com -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant Assigned To: aidan New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2005-09-19 14:13:14] [EMAIL PROTECTED] Feel free to fix it. FFTFI. :) ------------------------------------------------------------------------ [2005-07-05 17:55:32] nick dot telford at ntlworld dot com Description: ------------ http://www.php.net/manual/en/language.oop5.patterns.php The first description and example identify the example to be a Factory Method, this is not strictly true, it's a Parameterized Factory Method (sometimes referred to simply as "Factory"), and is a slight derivation of the Factory Method pattern. A pure Factory Method doesn't use parameters to select the class(es) to instanciate, it uses multiple methods and acts slightly differently. Ultra low priority bug report, I know i'm being pedantic, but I felt it was worth reporting anyway. Nicholas Telford ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33575&edit=1