You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
465 B
PHP
24 lines
465 B
PHP
<?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
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'question' => $this->faker->text(100),
|
|
'text' => $this->faker->optional(.5, '')->realText(),
|
|
];
|
|
}
|
|
}
|