public function deleteMulti(array $keys): void
    {
        if ($this->enabled === false) {
            return;
        }

        foreach ($keys as $index) {
            if ($key = $this->cacheIndex[$index] ?? null) {
                unset($this->cacheIndex[$index]);
            } else {
                $key = $index;
            }

            unset($this->cache[$key], $this->cacheExpiryTime[$key], $this->cacheAccessCount[$key]);
        }
    }
public function deleteMulti(array $keys): void
    {
        if ($this->enabled === false) {
            return;
        }

        foreach ($keys as $index) {
            if ($key = $this->cacheIndex[$index] ?? null) {
                unset($this->cacheIndex[$index]);
            } else {
                $key = $index;
            }

            unset($this->cache[$key], $this->cacheExpiryTime[$key], $this->cacheAccessCount[$key]);
        }
    }
public function deleteMulti ( array $ keys ) : void { if ( $ this -> enabled === false ) { return ; } foreach ( $ keys as $ index ) { if ( $ key = $ this -> cacheIndex [ $ index ] ?? null ) { unset ( $ this -> cacheIndex [ $ index ] ) ; } else { $ key = $ index ; } unset ( $ this -> cache [ $ key ] , $ this -> cacheExpiryTime [ $ key ] , $ this -> cacheAccessCount [ $ key ] ) ; } }
Removes multiple in-memory cache from the pool.

@param string[] $keys An array of keys that should be removed from the pool.
Removes multiple in - memory cache from the pool .