Re: interfaces extending multiple interfaces
| From: | Andi Gutmans | Date: | Tue, 20 Jan 2004 22:41:36 +0000 |
| Subject: | Re: interfaces extending multiple interfaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7205@lists.php.net to get a copy of this message | ||
Zeev is planning on fixing this. Interfaces should be allowed to extend other interfaces but not to implement them.
Andi
At 04:16 PM 1/16/2004 -0500, 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. I apolgoize if I've missed a thread where this was discussed. Hans -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php