Re: native php annotations
| From: | Etienne Kneuss | Date: | Sun, 13 Mar 2011 21:52:22 +0000 |
| Subject: | Re: native php annotations | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51677@lists.php.net to get a copy of this message | ||
On Mar 13 18:47:38, Marcelo Gornstein wrote:
> > it has already been discussed with length. Please take a look at:
> >
> > http://wiki.php.net/rfc/annotations
> Thank you for the link. That is actually pretty much what I intended
> to do. The only difference with my own version lies in the possibility
> to annotate method parameters (very useful in many cases when using an
> IoC/DI container). So that would be my 2 cents there.
>
> I made the patch because it's a feature I wanted from a long time now,
> and didn't find anything done about it. Do you know if this rfc is
> going to be approved?
The main concern with the proposals above were:
1) the syntax
2) how to represent the data (i.e. objects)
3) if objects, when to instanciate them, when reflecting, once?
I don't believe the patch was anywhere near an accepted state back then,
sadly.
Best,
>
> Thanks again for your quick reply,