Re: Bug: Can't inherit abstract function

From: Date: Tue, 12 Oct 2004 11:20:18 +0000
Subject: Re: Bug: Can't inherit abstract function
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-13278@lists.php.net to get a copy of this message
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 <jochem@iamjochem.com> 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)

« previous php.internals (#13278) next »