Using Symfony 2.7, I am trying to create a user registration form. I\'ve used Symfony\'s own guide for this, and the form is rendered and fillable.
When I fill in the fo
I think unless you specifically map a directory in your config, doctrine is going to look in YourBundle/Entity - this is where your User.php example diverges from the cookbook recipe.
If you want to change this you'll need to specify it explicitly as per the documentation
Alternatively just shift your User model to \Entity instead of \Models and I think it'll be OK.