Assuming that FrameworkBundle is merging the validation namespaces correctly (meaning that if multiple are specified in multiple different config resources that they all merge together), I think you could also put this configuration inside an XML file in your bundle and simply import it from your application config.yml.
At the end of the day, you should be interacting with the DI extension configuration options (e.g. validation.namespaces), but you can of course do that from any configuration file (in app/config or in a bundle). Does that help? Ryan Weaver Lead Programmer - iostudio - Nashville, TN http://www.iostudio.com http://www.thatsquality.com Twitter: @weaverryan On Fri, Mar 11, 2011 at 6:03 AM, Miha Vrhovnik <[email protected]>wrote: > > Why do you hate having the configuration defined in the config.yml file? > This is exactly what it is for. > > Because I find it annoying and is one thing more that I have to document > and it has to be configured when having reusable bundle. > > Regards, > Miha > > -- > 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 > -- 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
