Symfony 2 download xml validation package

How to import a validation.xml file into a project?

Because now it just seems ignored and not loaded.

I tried:

- { resource: "@GvnSnippetryBundle/Resources/config/validation.xml" } 

But that did not work. I did not find any information about this. It seems like it should load automatically. But this is not so.

+6
source share
1 answer

I explored this at the bottom. The validation.xml file is loaded, but it is not used with the cache (even in developer mode).

+8
source

Source: https://habr.com/ru/post/895808/


All Articles