Right now, I have a file called validation.yml with the validation of all the bundle\'s entities in one file.
validation.yml
Blogger\\BlogBundle\\Ent
This is YAML alternative to @MaksSlesarenko answer.
parameters:
validator.mapping.loader.yaml_files_loader.mapping_files:
- "%kernel.root_dir%/../src/CompanyName/TestBundle/Resources/config/validation/Entity.DbObject.yml"
BTW is there any way to change %kernel.root_dir%/../src/CompanyName/TestBundle/ to some bundle root variable (like %kernel.root_dir%)?