I had an entity class in AibPlatformBundleEntityUser.php
I had no problems trying to create its form class through
php app/ console doctrine:generate:form AibPlatformBundle:User
Now I have change the namespace to AibPlatformBundleEntityIdentityUser, but when I try to generate the form with the task I said before
it says:
"Class AibPlatformBundleEntityUser is not a valid entity or mapped
super class."
This is the file content:
<?php
namespace AibPlatformBundleEntityIdentity;
use DoctrineORMMapping as ORM;
/**
* AibPlatformBundleEntityIdentityUser
*
* @ORMTable()
* @ORMEntity(repositoryClass="AibPlatformBundleEntityIdentity
UserRepository")
*/
class User
{
...
Any idea?
symfony2.0.4
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…