is there any chance to add docblocks to arguments in methods and
global functions so annotations can be used for them? i.e:
public function aMethod(/** @Validate */ UserData $data) {
...
}
On Wed, May 11, 2011 at 6:57 PM, guilhermebla...@gmail.com
wrote:
> Hi duke,
>
> I moved it to rejected in
mm i don't remember saying anything like that :) i dont want to start
an argument here, but maybe you'd like to take things less personal
and re-read my post.
anyway, i think it's time to stop just saying "no", and really
collaborate with what the community is suggesting (and already
propsed) in o
regarding the annotations stuff: it seems the php community (in
general) really wants annotations. lots of important and widely used
frameworks use them (meaning that not only the plain php users have a
use for this feature, but also the users of the respective frameworks,
increasing the overall us
; without comments. This already breaks all suggestions of creating a
> PECL extension of docblock parser.
>
>
>
> I'd like to see what people think about it and make something "IN" on
> next PHP major version.
>
>
>
> Cheers,
>
> On Sun, Mar 13,
> I don't believe the patch was anywhere near an accepted state back then,
> sadly.
Are you saying there wont be annotations in PHP? Is there any way to
contribute to make this feature accepted and available?
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://ww
> 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
Hello All,
I'm new to this list, so please excuse me if this subject was already
discussed, or proposed.
I've made an experimental patch to ZendEngine/PHP (5.3.5) to allow
native annotations (without doc comments), using the token @@ (the @
was already taken). It allows 0 or more annotations (wit