Re: interfaces extending multiple interfaces
| From: | Sebastian Bergmann | Date: | Mon, 16 Feb 2004 05:10:52 +0000 |
| Subject: | Re: interfaces extending multiple interfaces | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7863@lists.php.net to get a copy of this message | ||
Hans Lellelid wrote:
> I thought this was going to be fixed for beta4/RC1, but still seems
> not to be.
Works for me:
<?php
interface Foo {
public function doFoo();
}
interface Bar {
public function doBar();
}
interface Barbara extends Foo, Bar {}
class BarbaraImpl implements Barbara {
public function doFoo() {}
public function doBar() {}
}
?>
Greetings,
Sebastian
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/