On 12.12.2010, at 15:46, Lukas Kahwe Smith wrote:

> Are all of these version equivalent? Are 1) and 2) just syntax sugar?


of course the coolest syntax would be:
    /**
     * @validation:Validation({
     *      NotBlank(),
     *      MinLength(limit=2),
     *      MaxLength(limit=100)
     * })
     * @var string
     */

And supporting trailing comma's would also be great:

    /**
     * @validation:Validation({
     *      NotBlank(),
     *      MinLength(limit=2),
     *      MaxLength(limit=100),
     * })
     * @var string
     */

But I guess both of these would need changes in Doctrine annotation parser.

regards,
Lukas Kahwe Smith
m...@pooteeweet.org



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to