Robert,

Your concern for naming consistency across the bundles is a valid concern;
however, in this case I feel the difference is excusable. The "type" option
allows things like "xml", "php" and "annotation", so the singular tense is
most appropriate in that case (this option is a convention used in both
Doctrine bundles as well as things like routing).  In the validation block,
you're choosing to enable annotation parsing (as in "enable annotations?
true/false").  Validation's configuration is unique in that it doesn't allow
you to explicitly load by path and a format type.  XML/YML loading happens
across the board and annotation support - also across the board in its scope
- is optional.

On Sun, Mar 20, 2011 at 7:22 AM, Henrik Bjornskov <[email protected]> wrote:

> It is two different things, the Vaidator uses a AnnotationReader for
> reading validation and the Doctrine project also uses one.
>
> as a sidenote, if your bundle follows the conventions then you can specify
> it with MyBundle: ~
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
jeremy mikola

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to