1
我需要幫助來生成實體,因爲當我嘗試下面的實體時,我收到錯誤。生成實體的步驟
創建DATABSE:
php app/console doctrine:database:create
生成實體:
php app/console doctrine:generate:entity
生成Getters
和Setters
:
php app/console doctrine:generate:entities AiQABlogBundle/Entity/Profile
上述步驟給出了這樣的錯誤:
[RuntimeException] Namespace "AiQABlogBundle\Entity\Profile" does not contain any mapped entities.