Re: Re: [PEPr] Comment on Networking::Net_Nmap
| From: | Chuck Burgess | Date: | Mon, 10 Mar 2008 14:47:09 +0000 |
| Subject: | Re: Re: [PEPr] Comment on Networking::Net_Nmap | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49359@lists.php.net to get a copy of this message | ||
On Mon, Mar 10, 2008 at 9:39 AM, till <klimpong@gmail.com> wrote:
>
> You need @property(-get, -set) and maybe @method, etc.. There is a set of
> dedicated tags for the magic stuff.
>
> Till
The extra @property tags are @property-read and @property-write, not
-get/-set, and I don't think they mean the same thing that is implied by
-get/-set.
If you're going to skip documenting your private variables altogether, along
with removing explicit get/set methods for them, I'd say use the plain
@property tags for describing the variables, and maybe include a mention of
"(use magic __get()/__set() for accessing these)".
--
CRB