public function delete(string $key): void
    {
        $keyMD5 = md5($key);
        $this->dataRepository->delete($this->keyPrefix . substr($keyMD5, 0, 3) . '/' . substr($keyMD5, 3) . '.2');
    }
public function delete(string $key): void
    {
        $keyMD5 = md5($key);
        $this->dataRepository->delete($this->keyPrefix . substr($keyMD5, 0, 3) . '/' . substr($keyMD5, 3) . '.2');
    }
public function delete ( string $ key ) : void { $ keyMD5 = md5 ( $ key ) ; $ this -> dataRepository -> delete ( $ this -> keyPrefix . substr ( $ keyMD5 , 0 , 3 ) . '/' . substr ( $ keyMD5 , 3 ) . '.2' ) ; }
Deletes a value from the cache.

@param string $key The key under which the value is stored.
@return void No value is returned.
Deletes a value from the cache .