src/Traits/Hashable.php
public function regenerateHash()
    {
        $this->hashWorkingRecord->{$this->hashDbField} = $this->encrypt();

        if ($this->hashMustBeUnique && !$this->hasUniqueHash()) {
            $this->regenerateHash();
        }
    }
public function regenerateHash()
    {
        $this->hashWorkingRecord->{$this->hashDbField} = $this->encrypt();

        if ($this->hashMustBeUnique && !$this->hasUniqueHash()) {
            $this->regenerateHash();
        }
    }
public function regenerateHash ( ) { $ this -> hashWorkingRecord -> { $ this -> hashDbField } = $ this -> encrypt ( ) ; if ( $ this -> hashMustBeUnique && ! $ this -> hasUniqueHash ( ) ) { $ this -> regenerateHash ( ) ; } }
Regenerate a hash for this @DataObject
Regenerate a hash for this