Method | Description | |
---|---|---|
getSlugAttribute ( ) : string | Get the value assigned to the sluggable key. | |
getSlugKey ( ) : string | Get the key that defines the model's sluggable attribute. | |
makeSlug ( string $value ) : string | Convert the value into a slug using a regexp replacement. | |
setSlugAttribute ( string $value ) | Mutate the value to a slug format and assign to the sluggable key. | |
setSlugKey ( string $key ) : Illuminate\Database\Eloquent\Model | Set the key that defines the model's sluggable attribute. |
public getSlugAttribute ( ) : string | ||
return | string |
public getSlugKey ( ) : string | ||
return | string |
public setSlugAttribute ( string $value ) | ||
$value | string |
public setSlugKey ( string $key ) : Illuminate\Database\Eloquent\Model | ||
$key | string | |
return | Illuminate\Database\Eloquent\Model |