public function setSlugAttribute($value)
    {
        array_set($this->attributes, $this->getSlugKey(), $this->makeSlug($value));
    }
public function setSlugAttribute($value)
    {
        array_set($this->attributes, $this->getSlugKey(), $this->makeSlug($value));
    }
public function setSlugAttribute ( $ value ) { array_set ( $ this -> attributes , $ this -> getSlugKey ( ) , $ this -> makeSlug ( $ value ) ) ; }
Mutate the value to a slug format and assign to the sluggable key.

@param string $value
Mutate the value to a slug format and assign to the sluggable key .