File manager - Edit - /var/www/html/portal/database/factories/Accounts/LinhasDoTempo/HistoricalPointFactory.php
Back
<?php namespace Database\Factories\Accounts\LinhasDoTempo; use App\Models\Accounts\LinhasDoTempo\HistoricalPoint; use App\Models\Accounts\LinhasDoTempo\Timeline; use Illuminate\Database\Eloquent\Factories\Factory; /** * @extends Factory<HistoricalPoint> */ class HistoricalPointFactory extends Factory { protected $model = HistoricalPoint::class; /** * @return array<string, mixed> */ public function definition(): array { return [ 'timeline_id' => Timeline::factory(), 'name' => fake()->words(3, true), 'event_date' => fake()->dateTime(), 'process_text' => '<p>' . fake()->paragraph() . '</p>', 'order_index' => 0, 'status' => 'active', ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings