开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜