morteza kavakebi morteza kavakebi - 1 year ago 343
PHP Question

Symfony2 doctrine clear cache

I need to clear my doctrine's cache in Symfony 2.

There must be some way in command line for clear the cache.

Or where should I find and delete the files belonging to cache?

Answer Source

will list how you can do it

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