public function removeCache(string $name)
  {
    # Sanity check
    if (empty($name)) return false;

    $cache = $this->findCache($name);

    if ($cache) {
      unset( $this->caches[\strtolower($cache->getDriver())] );
      unset($cache);
      $cache = null;
    }

    return $this;
  }
public function removeCache(string $name)
  {
    # Sanity check
    if (empty($name)) return false;

    $cache = $this->findCache($name);

    if ($cache) {
      unset( $this->caches[\strtolower($cache->getDriver())] );
      unset($cache);
      $cache = null;
    }

    return $this;
  }
public function removeCache ( string $ name ) { # Sanity check if ( empty ( $ name ) ) return false ; $ cache = $ this -> findCache ( $ name ) ; if ( $ cache ) { unset ( $ this -> caches [ \ strtolower ( $ cache -> getDriver ( ) ) ] ) ; unset ( $ cache ) ; $ cache = null ; } return $ this ; }
Remove a cache from the pool

@param      string  $name   The name of cache to remove

@return     Self
Remove a cache from the pool