Exemplo n.º 1
0
 /**
  * 
  * @param string $key
  * @throws \Puzzlout\Framework\Exceptions\NotImplementedException
  */
 public function Remove($key)
 {
     if (!$this->IsEnabled()) {
         return false;
     }
     $result = false;
     switch ($this->cacheType) {
         case BaseCache::TYPE_APC:
             $result = ApcCache::Init($this->app)->Remove($key);
             break;
         default:
             throw new \Puzzlout\Framework\Exceptions\NotImplementedException();
     }
     return $result;
 }