You've already forked Atomcms-edit
Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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(),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user