Re: protected interface methods

From: Date: Thu, 03 Jul 2003 16:15:04 +0000
Subject: Re: protected interface methods
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-3208@lists.php.net to get a copy of this message
Zitat von Moriyoshi Koizumi <moriyoshi@at.wakwak.com>: > marcus.boerger@t-online.de (Marcus Börger) wrote: > > > Hello internals, > > > > It is of course correct that an interface method cannot be declared > private > > but i think it should be possible to declare it protected. > > I don't see the benefit to allow interfaces to have protected methods as > I > use abstracts for that purpose. What's your point? Agreed. As the name implies "interfaces" define interfaces to the outside not to extending classes. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft

« previous php.internals (#3208) next »