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

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -