Re: how to mark protected properties?

From: Date: Mon, 07 Jun 2004 20:51:10 +0000
Subject: Re: how to mark protected properties?
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30099@lists.php.net to get a copy of this message
Martin Jansen wrote:
On Mon Jun 07, 2004 at 03:2800PM -0400, Daniel Convissor wrote:
So, should @private items be preceeded by "_", nothing, or something else?
I think protected members should be prefixed with "_" as well, because they are semantically more similar to private than to public members. And I also think that we should stick to this rule for PHP 5, too.
+1 regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.dev (#30099) next »