note 51370 rejected from language.oop5.interfaces by betz

From: Date: Tue, 29 Mar 2005 00:59:36 +0000
Subject: note 51370 rejected from language.oop5.interfaces by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87121@lists.php.net to get a copy of this message
Note Submitter: mkeasling at gmail dot com ---- I don't have a way to test this, so I'm wondering how this would work: <?php interface MyInterface { public function funcOne(); public function funcTwo(); } abstract class AbstractImplementation implements MyInterface { abstract public function funcOne(); public function funcTwo(){ //... } } class ConcreteImplementation extends AbstractImplementation { public function funcOne(){ //... } } ?> If so, what about: <?php class ConcreteImplementation extends AbstractImplementation implements MyInterface { public function funcOne(){ //... } } ?>

« previous php.notes (#87121) next »