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

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

            return $result;
        }
        else {
            return null;
        }
    }
public function get ( $ key , $ regionName = null ) { if ( $ this -> containsFiles ( $ key , $ regionName , $ policy , $ cache ) ) { $ this -> getCacheContent ( $ policy , $ cache , $ result ) ; return $ result ; } else { return null ; } }
Gets the specified cache entry from the cache as an object.

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

@return mixed|null
Gets the specified cache entry from the cache as an object .