AW: [PHP-DEV] interface method visibility.

2005-11-16 Thread Matthias Pigulla
Jochem, the point with most of these issues is that there's no common understanding of what things like protected or static interface members mean; from an OO point of view, they make no sense, and I was only trying to explain why. Unless there is a common understanding what a certain language co

Re: [PHP-DEV] interface method visibility.

2005-11-16 Thread Wez Furlong
An interface is a public contract that describes the behaviour of an object. If you're not using interfaces in that way, you're doing something fundamentally wrong. --Wez On 11/16/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > why does the engine care about the visibility of interface methods I dec

Re: [PHP-DEV] interface method visibility.

2005-11-16 Thread Jochem Maas
Andi Gutmans wrote: Please read the archives where discussions took place. As you stated it would be "abusing" the notion of what interfaces ar Take a look at abstract classes. That might help you. Andi, I read pretty much everything but the account requests on internals (and have done sinc

Re: [PHP-DEV] interface method visibility.

2005-11-16 Thread Andi Gutmans
Please read the archives where discussions took place. As you stated it would be "abusing" the notion of what interfaces are. Take a look at abstract classes. That might help you. Andi At 07:24 AM 11/16/2005, Jochem Maas wrote: why does the engine care about the visibility of interface methods

Re: AW: [PHP-DEV] interface method visibility.

2005-11-16 Thread Jochem Maas
Matthias Pigulla wrote: why does the engine care about the visibility of interface methods I declare? I understand the argument that interface methods only have 'meaning' when applied as public methods of objects - but thats rather academic and personally I can think of useful ways to abuse in

AW: [PHP-DEV] interface method visibility.

2005-11-16 Thread Matthias Pigulla
> why does the engine care about the visibility of interface > methods I declare? > I understand the argument that interface methods only have > 'meaning' when applied as public methods of objects - but > thats rather academic and personally I can think of useful > ways to abuse interfaces usin

[PHP-DEV] interface method visibility.

2005-11-16 Thread Jochem Maas
why does the engine care about the visibility of interface methods I declare? I understand the argument that interface methods only have 'meaning' when applied as public methods of objects - but thats rather academic and personally I can think of useful ways to abuse interfaces using protected me