26 lines
592 B
PHP
26 lines
592 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class TestimonialFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition()
|
|
{
|
|
$name = fake()->text(100);
|
|
|
|
return [
|
|
'name' => fake()->name(),
|
|
'job' => fake()->jobTitle(),
|
|
'content' => \clean(\fake()->randomHtml()),
|
|
'picture_alt' => fake()->sentence(),
|
|
'picture_title' => fake()->sentence(),
|
|
];
|
|
}
|
|
}
|