jonnybarnes.uk/database/factories/SyndicationTargetFactory.php

31 lines
772 B
PHP
Raw Normal View History

<?php
namespace Database\Factories;
2026-04-07 09:01:19 +01:00
use App\Models\SyndicationTarget;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
2026-04-07 09:01:19 +01:00
* @extends Factory<SyndicationTarget>
*/
class SyndicationTargetFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
2023-02-18 09:34:57 +00:00
public function definition(): array
{
return [
'uid' => $this->faker->url,
'name' => $this->faker->name,
'service_name' => $this->faker->name,
'service_url' => $this->faker->url,
'service_photo' => $this->faker->url,
'user_name' => $this->faker->name,
'user_url' => $this->faker->url,
'user_photo' => $this->faker->url,
];
}
}