koel/database/factories/SettingFactory.php
2020-12-22 21:11:22 +01:00

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,
];
}
}