note 75433 deleted from language.oop5.interfaces by felipe
| From: | felipe@php.net | Date: | Tue, 11 Dec 2007 01:01:20 +0000 |
| Subject: | note 75433 deleted from language.oop5.interfaces by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133346@lists.php.net to get a copy of this message | ||
Note Submitter: quickshiftin at gmail dot com
----
to clarify (rather than just claim i think its a limitation) consider client code for
the abstract class FifthInterface.
Said client code must extend FifthInterface, thus using the only extension
available to that class.
really, i suppose it doesnt matter so much if we consider the client code could
just implement FirstInterface and SecondInterface itself. Then, if there was a
FifthInterface
<?php
interface FifthInterface {
public function fifthInterface();
}
?>
the client class could just implement that as well.
hmmm....
I guess I just think interface inheritence affords cleaner designs.