Re: private, protected, readonly, public

From: Date: Fri, 12 May 2006 21:07:33 +0000
Subject: Re: private, protected, readonly, public
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Yes, I also consider the visibility as a candy functionality.

> Etienne Kneuss wrote:
>> 2) It only requires a bit of discipline, not to edit the properties you
>> want to be readonly.
> 
> well, then we don't need private/protected/public at all,
> as it only requires a bit of discipline not to access the
> properties you want to be visible to the class or its
> children only? 


-- 
Etienne Kneuss

http://www.colder.ch/
[email protected]



Thread (92 messages)

« previous php.internals (#23319) next »