Re: RFC: C-sharp style property get/set syntax for PHP
| From: | Stefan Marr | Date: | Tue, 30 Nov 2010 13:49:45 +0000 |
| Subject: | Re: RFC: C-sharp style property get/set syntax for PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50728@lists.php.net to get a copy of this message | ||
Hi:
On 30 Nov 2010, at 14:42, president@basnetworks.net wrote:
> However, it does make sense to be able to define a property as part of a
> trait, as again, it is basically just a pair of methods. When I get some
> time, I will try to add a syntax for traits to the RFC.
The only thing really necessary for that would be a specification on how to name/to refer to the
getter/setter to be able to handle the conflicts.
The rest should work out of the box. As far as I can see from the proposal.
Best regards
Stefna
>
> - Dennis
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525