Re: private, protected, readonly, public

From: Date: Wed, 17 May 2006 08:26:58 +0000
Subject: Re: private, protected, readonly, public
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-23515@lists.php.net to get a copy of this message
Marcus Boerger wrote: > private readable $abc; > - class itself can read and write > - public for everybody when reading, inside & outside of the class This means that a private attribute becomes part of the public interface of a class. I am not sure if this really is desirable. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

« previous php.internals (#23515) next »