ldc-gen-game-web/database/factories/RangeFactory.php

29 lines
558 B
PHP
Raw Permalink Normal View History

<?php
2026-10-02 12:09:46 +02:00
declare(strict_types=1);
namespace Database\Factories;
2026-10-02 12:09:46 +02:00
use App\Models\Range;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
2026-10-02 12:09:46 +02:00
* @extends Factory<Range>
*/
class RangeFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
2026-10-02 12:09:46 +02:00
'name' => 'range ' . \fake()->jobTitle(),
'picture_alt' => fake()->sentence(),
'picture_title' => fake()->sentence(),
];
}
}