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

apache - Cloudflare bug random 302 redirections -

java - Sql binding in Spring throws org.skife.jdbi.v2.exceptions.UnableToExecuteStatementException -