src/Psr6/CachePool.php
protected function removeElementFromBuffer($key)
    {
        $result = array_search($key, $this->bufferKeys);
        if ($result === false) {
            return;
        }

        unset($this->buffer[$key]);
        unset($this->bufferKeys[$result]);
    }
protected function removeElementFromBuffer($key)
    {
        $result = array_search($key, $this->bufferKeys);
        if ($result === false) {
            return;
        }

        unset($this->buffer[$key]);
        unset($this->bufferKeys[$result]);
    }
protected function removeElementFromBuffer ( $ key ) { $ result = array_search ( $ key , $ this -> bufferKeys ) ; if ( $ result === false ) { return ; } unset ( $ this -> buffer [ $ key ] ) ; unset ( $ this -> bufferKeys [ $ result ] ) ; }
Remove a specific key from buffer

@param $key
Remove a specific key from buffer