php - How to remove an entity? -


this first time using symfony framework. trying learn doctrine. have created , entity class. have created entity called product. since there wrong deleted entity folder , trying create 1 again. framework not allowing me so. saying entity class exists. how remove previous entity class?

you must clear doctrine cache:

php app/console doctrine:cache:clear-metadata php app/console doctrine:cache:clear-query php app/console doctrine:cache:clear-result 

Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -