mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
720 B
PHP
29 lines
720 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
* The given function generates a URL friendly "slug" from the tag name property before saving it.
|
|
* Defaults to Str::slug (https://laravel.com/docs/master/helpers#method-str-slug)
|
|
*/
|
|
'slugger' => null,
|
|
|
|
/*
|
|
* The fully qualified class name of the tag model.
|
|
*/
|
|
'tag_model' => Spatie\Tags\Tag::class,
|
|
|
|
/*
|
|
* The name of the table associated with the taggable morph relation.
|
|
*/
|
|
'taggable' => [
|
|
'table_name' => 'taggables',
|
|
'morph_name' => 'taggable',
|
|
|
|
/*
|
|
* The fully qualified class name of the pivot model.
|
|
*/
|
|
'class_name' => Illuminate\Database\Eloquent\Relations\MorphPivot::class,
|
|
]
|
|
];
|