Adding extended profile entity to FOS UserBundle
问题 I am trying to extend the FOS UserBundle to allow for extended profile entities to hold additional information in addition to the basic UserBundle fields. Because I have multiple types of users on the site I have created separate entities to hold the profile information. I have the entities set up as follows: class UserProfile { /** * @var integer */ private $id; /** * @var integer */ private $userId; /** * @var string */ private $phone; /** * @var string */ private $language; /** * @var