mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
19 lines
360 B
PHP
19 lines
360 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Setting;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class SettingFactory extends Factory
|
|
{
|
|
protected $model = Setting::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'key' => $this->faker->slug,
|
|
'value' => $this->faker->name,
|
|
];
|
|
}
|
|
}
|