Re: [PEPr] Comment on Networking::Net_Nmap
| From: | Christian Schmidt | Date: | Tue, 11 Mar 2008 23:42:45 +0000 |
| Subject: | Re: [PEPr] Comment on Networking::Net_Nmap | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49381@lists.php.net to get a copy of this message | ||
David Jean Louis wrote:
I would just remove the getters/setters in Net_Nmap_Service and Net_Nmap_Host (for this one maybe __get() and __set() would help), but that's just a matter of taste.I think we should agree on a general coding standard or recommendation about whether to use getFoo()/setFoo(), public $foo, or __get()/__set(). Christian