Predis\Command\ServerEval::getScriptHash PHP Метод

getScriptHash() публичный Метод

Calculates the SHA1 hash of the body of the script.
public getScriptHash ( ) : string
Результат string SHA1 hash.
    public function getScriptHash()
    {
        return sha1($this->getArgument(0));
    }