Re: Multiple class inheritance
| From: | Edward Z. Yang | Date: | Mon, 19 Nov 2007 06:09:32 +0000 |
| Subject: | Re: Multiple class inheritance | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33283@lists.php.net to get a copy of this message | ||
Larry Garfield wrote:
> It sounds like you want to be using decorators instead.
The decorator pattern is inappropriate for this case, because Sam wants
to extend the interface, not change the behavior of an existing one.
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]