Symfony 2 loading xml validation of bundle
How do I import the validation.xml into the project ?
Because now it just seems to get ignored and not loaded.
I've tried:
- { resource: "@GvnSnippetryBundle/Resources/config/validation.xml" }
But that didn't work. I didn't found any information about this. It seems that it should b开发者_运维知识库e loaded automatically. But it isn't.
I've researched this to the bottom. The validation.xml actually gets loaded but with the cache (even in developers mode) it isn't used.
精彩评论