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));
    }