protected function generateSlugAndSave()
    {
        if ($this->slugWorkingRecord->{$this->slugDbField}) {
            return;
        }

        $this->generateSlug();

        if ($this->slugWorkingRecord->{$this->slugDbField}) {
            $this->slugWorkingRecord->write();
        }
    }
protected function generateSlugAndSave()
    {
        if ($this->slugWorkingRecord->{$this->slugDbField}) {
            return;
        }

        $this->generateSlug();

        if ($this->slugWorkingRecord->{$this->slugDbField}) {
            $this->slugWorkingRecord->write();
        }
    }
protected function generateSlugAndSave ( ) { if ( $ this -> slugWorkingRecord -> { $ this -> slugDbField } ) { return ; } $ this -> generateSlug ( ) ; if ( $ this -> slugWorkingRecord -> { $ this -> slugDbField } ) { $ this -> slugWorkingRecord -> write ( ) ; } }
Generate hash and save if slug created
Generate hash and save if slug created