src/Traits/Hashable.php
protected function generateHashAndSave()
    {
        if ($this->hashWorkingRecord->{$this->hashDbField}) {
            return;
        }

        $this->generateHash();

        if ($this->hashWorkingRecord->{$this->hashDbField}) {
            $this->hashWorkingRecord->write();
        }
    }
protected function generateHashAndSave()
    {
        if ($this->hashWorkingRecord->{$this->hashDbField}) {
            return;
        }

        $this->generateHash();

        if ($this->hashWorkingRecord->{$this->hashDbField}) {
            $this->hashWorkingRecord->write();
        }
    }
protected function generateHashAndSave ( ) { if ( $ this -> hashWorkingRecord -> { $ this -> hashDbField } ) { return ; } $ this -> generateHash ( ) ; if ( $ this -> hashWorkingRecord -> { $ this -> hashDbField } ) { $ this -> hashWorkingRecord -> write ( ) ; } }
Generate hash and save if hash created
Generate hash and save if hash created