Re: interfaces extending multiple interfaces
| From: | Andrey Hristov | Date: | Sat, 17 Jan 2004 00:59:28 +0000 |
| Subject: | Re: interfaces extending multiple interfaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7145@lists.php.net to get a copy of this message | ||
Hi,
Hans Lellelid wrote:
Is there any way to have an _interface_ implement or extend multiple interfaces? This was working as of PHP5b3, but seems to work no longer as of latest snapshot I downloaded. The only way to do it before was to have an interface implement other interfaces: interface ExtendFileSelector implements Parameterizable, FileSelector { } This was a very useful way to get around a need for multiple inheritance. Obviously an interface that implements other interfaces is kinda weird -- but I was very pleased that it worked.Yeah, it's like that for about 2 days. Hopefully this will be fixed before RC1 which is scheduled for the end of the month. Sebastian Bergmann already complained :)
I apolgoize if I've missed a thread where this was discussed. No, it wasn't.Andrey