RE: [PHP-DEV] prototypes for getters and setters.
| From: | John Coggeshall | Date: | Wed, 13 Nov 2002 01:42:05 +0000 |
| Subject: | RE: [PHP-DEV] prototypes for getters and setters. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-90923@lists.php.net to get a copy of this message | ||
|syntax:
| var [getter method] [setter method] $variable .....;
I think this syntax looks pretty interesting. It would allow the
developer to create get/set if desired and doesn't look too strange
either..
I'd like to see it in action myself :)
John