public function remove($key, $regionName = null) {
        if ($this->containsFiles($key, $regionName, $policy, $cache)) {
            if ($this->getCacheContent($policy, $cache, $result) === true) {
                $this->tryDeleteFile($policy);
                $this->tryDeleteFile($cache);
            }

            return $result;
        }
        else {
            return null;
        }
    }
public function remove($key, $regionName = null) {
        if ($this->containsFiles($key, $regionName, $policy, $cache)) {
            if ($this->getCacheContent($policy, $cache, $result) === true) {
                $this->tryDeleteFile($policy);
                $this->tryDeleteFile($cache);
            }

            return $result;
        }
        else {
            return null;
        }
    }
public function remove ( $ key , $ regionName = null ) { if ( $ this -> containsFiles ( $ key , $ regionName , $ policy , $ cache ) ) { if ( $ this -> getCacheContent ( $ policy , $ cache , $ result ) === true ) { $ this -> tryDeleteFile ( $ policy ) ; $ this -> tryDeleteFile ( $ cache ) ; } return $ result ; } else { return null ; } }
Removes the cache entry from the cache.

@param string $key A unique identifier for the cache entry.
@param string $regionName A name of region.

@return mixed An object that represents the value of the removed cache entry that was specified by the key,
or null if the specified entry was not found.
Removes the cache entry from the cache .