You've already forked Atomcms-edit
21 lines
474 B
PHP
Executable File
21 lines
474 B
PHP
Executable File
<?php
|
|
|
|
namespace Database\Factories\Miscellaneous;
|
|
|
|
use App\Models\Miscellaneous\WebsiteSetting;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class WebsiteSettingFactory extends Factory
|
|
{
|
|
protected $model = WebsiteSetting::class;
|
|
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'key' => $this->faker->unique()->word(),
|
|
'value' => $this->faker->word(),
|
|
'comment' => $this->faker->sentence(),
|
|
];
|
|
}
|
|
}
|