symfony - generate:doctrine:crud not work -
in symfony 2.8 generated simple entity "demobundle:post".
if try recreate entity command:
php app/console doctrine:generate:entity
it tell me
'entity "demobundle:post" exist.'
but if try generate crud command:
php app/console doctrine:generate:crud
it tell me
'entity "post" not exist in "demobundle" bundle.'
so stupid think in symfony?
try run php app/console doctrine:cache:clear-metadata
.
also verify have not deleted whole entity directory (keep empty if it).
clear cache (app/console cache:clear
) , re-try generate entity.
Comments
Post a Comment