File: /home/richfield/www/rich/vendor/cviebrock/eloquent-sluggable/tests/Models/PostWithMultipleSlugs.php
<?php namespace Cviebrock\EloquentSluggable\Tests\Models;
/**
* Class PostWithMultipleSlugs
*
* @package Cviebrock\EloquentSluggable\Tests\Models
*/
class PostWithMultipleSlugs extends Post
{
/**
* Return the sluggable configuration array for this model.
*
* @return array
*/
public function sluggable(): array
{
return [
'slug' => [
'source' => 'title',
],
'dummy' => [
'source' => 'subtitle',
'separator' => '.',
],
];
}
}