开发者

Symfony 2 loading xml validation of bundle

开发者 https://www.devze.com 2023-03-30 06:29 出处:网络
How do I import the validation.xml into the project ? Because now it just seems to get ignored and not loaded.

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

精彩评论

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