public function getUsingFileTimestamps($key)
    {
        $value = $this->get($this->cacheKey($key));
        $timestamps = $this->get($this->cachetskey($key));

        if ($value !== false && $timestamps !== false) {

            foreach ($timestamps as $file => $timestamp) {

                if (filemtime($file) !== $timestamp)
                    return false;
            }

            return $value;
        }

        return false;
    }
public function getUsingFileTimestamps($key)
    {
        $value = $this->get($this->cacheKey($key));
        $timestamps = $this->get($this->cachetskey($key));

        if ($value !== false && $timestamps !== false) {

            foreach ($timestamps as $file => $timestamp) {

                if (filemtime($file) !== $timestamp)
                    return false;
            }

            return $value;
        }

        return false;
    }
public function getUsingFileTimestamps ( $ key ) { $ value = $ this -> get ( $ this -> cacheKey ( $ key ) ) ; $ timestamps = $ this -> get ( $ this -> cachetskey ( $ key ) ) ; if ( $ value !== false && $ timestamps !== false ) { foreach ( $ timestamps as $ file => $ timestamp ) { if ( filemtime ( $ file ) !== $ timestamp ) return false ; } return $ value ; } return false ; }
get cache using key, but check associated timestamps on cached file array

@param string $key The key of the cache item to retrieve

@return mixed the value of the stored cache item
get cache using key but check associated timestamps on cached file array