Cviebrock\EloquentSluggable\Tests\Models\PostWithMaxLength::sluggable PHP Method

sluggable() public method

Return the sluggable configuration array for this model.
public sluggable ( ) : array
return array
    public function sluggable()
    {
        return ['slug' => ['source' => 'title', 'maxLength' => 10]];
    }
PostWithMaxLength