public function replaceHash()
    {
        $currentHash = $this->cacheBuster->getHash();
        $hash = $this->cacheBuster->generateHash();
        $this->writeHash($currentHash, $hash);
        $this->cacheBuster->setHash($hash);
        return $hash;
    }
public function replaceHash()
    {
        $currentHash = $this->cacheBuster->getHash();
        $hash = $this->cacheBuster->generateHash();
        $this->writeHash($currentHash, $hash);
        $this->cacheBuster->setHash($hash);
        return $hash;
    }
public function replaceHash ( ) { $ currentHash = $ this -> cacheBuster -> getHash ( ) ; $ hash = $ this -> cacheBuster -> generateHash ( ) ; $ this -> writeHash ( $ currentHash , $ hash ) ; $ this -> cacheBuster -> setHash ( $ hash ) ; return $ hash ; }
Generate and save new hash
@return string New Hash
@throws \Exception
Generate and save new hash