I had an entity class in Aib \ PlatformBundle \ Entity \ User.php
I had no problems trying to create a form class through
php app / console doctrine: generate: form AibPlatformBundle: User
Now I changed the namespace to Aib \ PlatformBundle \ Entity \ Identity \ User, but when I try to generate the form with the task that I said earlier it says:
"The class Aib \ PlatformBundle \ Entity \ User is not a valid entity or superclass mapped."
This is the contents of the file:
<?php namespace Aib\PlatformBundle\Entity\Identity; use Doctrine\ORM\Mapping as ORM; class User { ...
Any idea?
symfony2.0.4
php symfony doctrine2 doctrine-orm
ziiweb Oct 19 '11 at 11:25 2011-10-19 11:25
source share