Now I found out that Annotation validation is working as expected..
But why doesn't the yml or xml file validation work??
One last idea came to my mind: I built my model also with annotations, so
maybe the yml validation only works if there is a yml model too? But this
doesn't make sense, only
Just had the idea.. do I need to add a Request Class with the name of my
Model too?
I just tested exactly the same like in the book:
http://symfony.com/doc/2.0/book/validation.html (using PR10)
1. created the Author in Application\UserBundle\Author.php
2. added it to the Application\UserBundle