php bin/console doctrine:cache:clear-result

Clear all result cache of the various cache drivers

Usage

doctrine:cache:clear-result [--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-result command is meant to clear the result cache of associated Entity Manager.
It is possible to invalidate all cache entries at once - called delete -, or flushes the cache provider
instance completely.

The execution type differ on how you execute the command.
If you want to invalidate the entries (and not delete from cache instance), this command would do the work:

doctrine:cache:clear-result

Alternatively, if you want to flush the cache provider using this command:

doctrine:cache:clear-result --flush

Finally, be aware that if --flush option is passed, not all cache providers are able to flush entries,
because of a limitation of its execution nature.