Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony 2 loading xml validation of bundle

Tags:

php

symfony

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 be loaded automatically. But it isn't.

like image 258
Vince V. Avatar asked Aug 24 '11 22:08

Vince V.


1 Answers

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.

like image 193
Vince V. Avatar answered Nov 19 '22 14:11

Vince V.