Predis\Command\ScriptCommand::getScriptHash PHP Méthode

getScriptHash() public méthode

Calculates the SHA1 hash of the body of the script.
public getScriptHash ( ) : string
Résultat string SHA1 hash.
    public function getScriptHash()
    {
        return sha1($this->getScript());
    }