ldc-volena/database/factories/TestimonialFactory.php
2024-03-20 12:55:20 +01:00

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(),
];
}
}