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