adrema/database/factories/Form/Models/FormtemplateFactory.php

29 lines
521 B
PHP
Raw Normal View History

2023-12-26 00:44:49 +01:00
<?php
namespace Database\Factories\Form\Models;
use App\Form\Models\Formtemplate;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Formtemplate>
*/
class FormtemplateFactory extends Factory
{
public $model = Formtemplate::class;
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
'name' => $this->faker->words(4, true),
'config' => [],
];
}
}