ID: 33575 Updated by: [EMAIL PROTECTED] Reported By: nick dot telford at ntlworld dot com -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant Assigned To: aidan New Comment:
Feel free to fix it. FFTFI. :) Previous Comments: ------------------------------------------------------------------------ [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