note 75433 added to language.oop5.interfaces

From: Date: Wed, 30 May 2007 04:16:36 +0000
Subject: note 75433 added to language.oop5.interfaces
Groups: php.notes 
Request: Send a blank email to php-notes+get-127007@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 74.128.25.156 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.interfaces.php Edit -- https://master.php.net/note/edit/75433 Del: integrated -- https://master.php.net/note/delete/75433/integrated Del: useless -- https://master.php.net/note/delete/75433/useless Del: bad code -- https://master.php.net/note/delete/75433/bad+code Del: spam -- https://master.php.net/note/delete/75433/spam Del: non-english -- https://master.php.net/note/delete/75433/non-english Del: in docs -- https://master.php.net/note/delete/75433/in+docs Del: other reasons-- https://master.php.net/note/delete/75433 Reject -- https://master.php.net/note/reject/75433 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127007) next »