Example #1
0
 /**
  * @param $key
  *
  * @throws RuntimeException
  * @return bool
  */
 public function delete($key)
 {
     if (!$this->isActive()) {
         return false;
         throw new RuntimeException(self::MSG);
     }
     return $this->global_cache->delete($key);
 }