27 lines
812 B
PHP
27 lines
812 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class CommitmentPageFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition()
|
|
{
|
|
return [
|
|
'quality_title' => fake()->sentence(),
|
|
'quality_text' => \clean(\fake()->randomHtml(4, 5)),
|
|
'product1_title' => fake()->sentence(),
|
|
'product1_text' => \clean(\fake()->randomHtml(4, 5)),
|
|
'product2_title' => fake()->sentence(),
|
|
'product2_text' => \clean(\fake()->randomHtml(4, 5)),
|
|
'environment_title' => fake()->sentence(),
|
|
'environment_text' => \clean(\fake()->randomHtml(4, 5)),
|
|
];
|
|
}
|
|
}
|