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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -