Re: [RFC] Reflection annotations reader
| From: | Derick Rethans | Date: | Wed, 09 Jan 2013 11:57:36 +0000 |
| Subject: | Re: [RFC] Reflection annotations reader | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64725@lists.php.net to get a copy of this message | ||
On Mon, 7 Jan 2013, Yahav Gindi Bar wrote:
> I don't think that we should dictate the syntax for each application.
> Each application will get the doc-comment annotation and will be able
> to apply on it its own syntax and fancy stuff...
And this is the exact reason why I think it makes no sense to make a
docblock/annotation reader part of PHP's code (or Reflection). It's fairly
trivial to write a specific extension for each framework's syntax in
case their user land implementation isn't fast enough.
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine