Details
Description
Commands for clear-cache:result, clear-cache:query, clear-cache:metadata do not work with cli and APC Cache
Revert some correction not tested by guilhermeblanco by adding
if ($cacheDriver instanceof \Doctrine\Common\Cache\ApcCache) { throw new \LogicException("Cannot clear APC Cache from Console, its shared in the Webserver memory and not accessible from the CLI."); }
Fixed in https://github.com/doctrine/doctrine2/commit/8efae0b232210b27200f2709e7fcb24c7f02c5de
Thanks for the report. =)