public function generateCacheKey($path, $filter)
    {
        return implode('.', [
            $this->sanitizeCacheKeyPart($this->options['global_prefix']),
            $this->sanitizeCacheKeyPart($this->options['prefix']),
            $this->sanitizeCacheKeyPart($filter),
            $this->sanitizeCacheKeyPart($path),
        ]);
    }
public function generateCacheKey($path, $filter)
    {
        return implode('.', [
            $this->sanitizeCacheKeyPart($this->options['global_prefix']),
            $this->sanitizeCacheKeyPart($this->options['prefix']),
            $this->sanitizeCacheKeyPart($filter),
            $this->sanitizeCacheKeyPart($path),
        ]);
    }
public function generateCacheKey ( $ path , $ filter ) { return implode ( '.' , [ $ this -> sanitizeCacheKeyPart ( $ this -> options [ 'global_prefix' ] ) , $ this -> sanitizeCacheKeyPart ( $ this -> options [ 'prefix' ] ) , $ this -> sanitizeCacheKeyPart ( $ filter ) , $ this -> sanitizeCacheKeyPart ( $ path ) , ] ) ; }
Generate a unique cache key based on the given parameters.

When overriding this method, ensure generateIndexKey is adjusted accordingly.

@param string $path   The image path in use
@param string $filter The filter in use

@return string
Generate a unique cache key based on the given parameters .