如何使用FOSUserBundle::UserInterface创建用户?那么如何将继承映射添加到我的用户类中呢?
我一周前试过了,但没用。。。错误地说我的类应该是abstract
,然后在执行php app/console doctrine:schema:update --force
时docrine警告
您的实体应将FOS''UserBundle''Model''User扩展为写入文档:
https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/index.md#a-条令orm用户类