protected function glob_keys_pattern($prefix = '') {
        if ($this->singledirectory) {
            return $this->path . '/'.$prefix.'*.cache';
        } else {
            return $this->path . '/*/'.$prefix.'*.cache';
        }
    }
protected function glob_keys_pattern($prefix = '') {
        if ($this->singledirectory) {
            return $this->path . '/'.$prefix.'*.cache';
        } else {
            return $this->path . '/*/'.$prefix.'*.cache';
        }
    }
protected function glob_keys_pattern ( $ prefix = '' ) { if ( $ this -> singledirectory ) { return $ this -> path . '/' . $ prefix . '*.cache' ; } else { return $ this -> path . '/*/' . $ prefix . '*.cache' ; } }
Gets a pattern suitable for use with glob to find all keys in the cache.

@param string $prefix A prefix to use.
@return string The pattern.
Gets a pattern suitable for use with glob to find all keys in the cache .