src/Spiritix/LadaCache/Invalidator.php
private function getHashes(array $tags)
    {
        $hashes = [];

        foreach ($tags as $tag) {
            $tag = $this->redis->prefix($tag);

            if (!$this->redis->exists($tag)) {
                continue;
            }

            $hashes = array_merge($hashes, $this->redis->smembers($tag));
        }

        return array_unique($hashes);
    }
private function getHashes(array $tags)
    {
        $hashes = [];

        foreach ($tags as $tag) {
            $tag = $this->redis->prefix($tag);

            if (!$this->redis->exists($tag)) {
                continue;
            }

            $hashes = array_merge($hashes, $this->redis->smembers($tag));
        }

        return array_unique($hashes);
    }
private function getHashes ( array $ tags ) { $ hashes = [ ] ; foreach ( $ tags as $ tag ) { $ tag = $ this -> redis -> prefix ( $ tag ) ; if ( ! $ this -> redis -> exists ( $ tag ) ) { continue ; } $ hashes = array_merge ( $ hashes , $ this -> redis -> smembers ( $ tag ) ) ; } return array_unique ( $ hashes ) ; }
Returns a list of all affected hashes for a given set of tags.

@param array $tags

@return array
Returns a list of all affected hashes for a given set of tags .