2020-10-17 17:15:06 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Database\Factories;
|
|
|
|
|
|
|
|
use App\Models\MicropubClient;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
|
2023-02-18 09:34:57 +00:00
|
|
|
/**
|
|
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MicropubClient>
|
|
|
|
*/
|
2020-10-17 17:15:06 +01:00
|
|
|
class MicropubClientFactory extends Factory
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The name of the factory's corresponding model.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $model = MicropubClient::class;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Define the model's default state.
|
|
|
|
*
|
2023-02-18 09:34:57 +00:00
|
|
|
* @return array<string, mixed>
|
2020-10-17 17:15:06 +01:00
|
|
|
*/
|
2023-02-18 09:34:57 +00:00
|
|
|
public function definition(): array
|
2020-10-17 17:15:06 +01:00
|
|
|
{
|
|
|
|
return [
|
|
|
|
'client_url' => $this->faker->url,
|
|
|
|
'client_name' => $this->faker->company,
|
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|