php bin/console doctrine:cache:clear-metadata

Clear all metadata cache of the various cache drivers

Usage

doctrine:cache:clear-metadata [--em EM] [--flush]

Options

      --em      Name of the entity manager to operate on 
      --flush   If defined, cache entries will be flushed instead of deleted/invalidated. 

Help

The doctrine:cache:clear-metadata command is meant to clear the metadata cache of associated Entity Manager.