I\'m creating a form in Symfony2. The form only contains one book field which allows the user to choose between a list of Books entities. I need to c
book
Books
Thank you @JasonRoman, Your solution worked perfectly for me in Symfony 3.4.
I had an error in my Validator when I used :
$author = $this->constraint->getAuthor();
But it worked when I used this instead :
$author = $constraint->getAuthor();