Skip to content
Permalink
Browse files

convert FQCNs to use statements

  • Loading branch information...
chris48s committed May 27, 2016
1 parent 602e0f9 commit a60e844de0d580d85e86e2a2da6937e4e5d111c9
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/Shell/CacheShell.php
@@ -15,6 +15,8 @@
namespace Cake\Shell;
use Cake\Cache\Cache;
use Cake\Cache\Engine\ApcEngine;
use Cake\Cache\Engine\WincacheEngine;
use Cake\Console\Shell;
use Cake\Core\Configure;
@@ -74,10 +76,10 @@ public function clear($prefix = null)
try {
$engine = Cache::engine($prefix);
Cache::clear(false, $prefix);
if ($engine instanceof \Cake\Cache\Engine\ApcEngine) {
if ($engine instanceof ApcEngine) {
$this->warn("ApcEngine detected: Cleared $prefix CLI cache successfully " .
"but $prefix web cache must be cleared separately.");
} elseif ($engine instanceof \Cake\Cache\Engine\WincacheEngine) {
} elseif ($engine instanceof WincacheEngine) {
$this->warn("WincacheEngine detected: Cleared $prefix CLI cache successfully " .
"but $prefix web cache must be cleared separately.");
} else {

0 comments on commit a60e844

Please sign in to comment.
You can’t perform that action at this time.