2021-07-10 00:59:20 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories\Engelsystem\Models;
|
|
|
|
|
|
|
|
use Engelsystem\Models\Faq;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
|
|
|
class FaqFactory extends Factory
|
|
|
|
{
|
|
|
|
/** @var string */
|
|
|
|
protected $model = Faq::class;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
2022-12-14 19:15:20 +01:00
|
|
|
public function definition(): array
|
2021-07-10 00:59:20 +02:00
|
|
|
{
|
|
|
|
return [
|
|
|
|
'question' => $this->faker->text(100),
|
|
|
|
'text' => $this->faker->optional(.5, '')->realText(),
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|