An interface is a *public* contract by definition; PPP specifiers just
don't make sense there.

Neither does static, since interfaces are instance based.

--Wez.

On Tue, 12 Oct 2004 09:34:00 +0200, Jochem Maas <[EMAIL PROTECTED]> wrote:
> I would be very grateful if you could explain the logic behind not being
> able to define public/protected/private/static access modifiers for
> interface methods (obviously they are abstract by definition).
> 
> AFAICS (not that far I admit!) not being able to define
> public/protected/private/static for interface methods removes a lot of
> the power of interfaces (in terms of being able to define specifics)

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

Reply via email to