Zitat von Moriyoshi Koizumi <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] (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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to