public function buildSlug()
    {
        $name = $this->getAttribute($this->getSluggableColumn());
        return str_slug($name . '-' . $this->getAttribute('id'));
    }
public function buildSlug()
    {
        $name = $this->getAttribute($this->getSluggableColumn());
        return str_slug($name . '-' . $this->getAttribute('id'));
    }
public function buildSlug ( ) { $ name = $ this -> getAttribute ( $ this -> getSluggableColumn ( ) ) ; return str_slug ( $ name . '-' . $ this -> getAttribute ( 'id' ) ) ; }
Build the slug

@return string
Build the slug