protected function storeCacheKeys($class, $method, $hash)
    {
        $keysFile  = $this->getContainer('config')->get('rinvex.repository.cache.keys_file');
        $cacheKeys = $this->getCacheKeys($keysFile);

        if (! isset($cacheKeys[$class]) || ! in_array($method.'.'.$hash, $cacheKeys[$class])) {
            $cacheKeys[$class][] = $method.'.'.$hash;
            file_put_contents($keysFile, json_encode($cacheKeys));
        }
    }
protected function storeCacheKeys($class, $method, $hash)
    {
        $keysFile  = $this->getContainer('config')->get('rinvex.repository.cache.keys_file');
        $cacheKeys = $this->getCacheKeys($keysFile);

        if (! isset($cacheKeys[$class]) || ! in_array($method.'.'.$hash, $cacheKeys[$class])) {
            $cacheKeys[$class][] = $method.'.'.$hash;
            file_put_contents($keysFile, json_encode($cacheKeys));
        }
    }
protected function storeCacheKeys ( $ class , $ method , $ hash ) { $ keysFile = $ this -> getContainer ( 'config' ) -> get ( 'rinvex.repository.cache.keys_file' ) ; $ cacheKeys = $ this -> getCacheKeys ( $ keysFile ) ; if ( ! isset ( $ cacheKeys [ $ class ] ) || ! in_array ( $ method . '.' . $ hash , $ cacheKeys [ $ class ] ) ) { $ cacheKeys [ $ class ] [ ] = $ method . '.' . $ hash ; file_put_contents ( $ keysFile , json_encode ( $ cacheKeys ) ) ; } }
Store cache keys by mimicking cache tags.

@param string $class
@param string $method
@param string $hash

@return void
Store cache keys by mimicking cache tags .