Re: how to mark protected properties?
| From: | Martin Jansen | Date: | Mon, 07 Jun 2004 19:50:02 +0000 |
| Subject: | Re: how to mark protected properties? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30097@lists.php.net to get a copy of this message | ||
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.
--
- Martin Martin Jansen
http://martinjansen.com/