Re: private, protected, readonly, public
| From: | Etienne Kneuss | 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 internals+get-23319@lists.php.net 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/
colder@php.net