Doctrine ORM User class example uses FOS\UserBundle\Entity\User instead of FOS\UserBundle\Model\User as BaseUser