protected function generateSlugOnCreate()
    {
        $this->slugOptions = $this->getSlugOptions();

        if (!$this->slugOptions->generateSlugOnCreate) {
            return;
        }

        $this->createSlug();
    }
protected function generateSlugOnCreate()
    {
        $this->slugOptions = $this->getSlugOptions();

        if (!$this->slugOptions->generateSlugOnCreate) {
            return;
        }

        $this->createSlug();
    }
protected function generateSlugOnCreate ( ) { $ this -> slugOptions = $ this -> getSlugOptions ( ) ; if ( ! $ this -> slugOptions -> generateSlugOnCreate ) { return ; } $ this -> createSlug ( ) ; }
Generate a slug on create
Generate a slug on create