vito/database/factories/NotificationChannelFactory.php
2025-03-12 13:31:10 +01:00

24 lines
484 B
PHP

<?php
namespace Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<\App\Models\NotificationChannel>
*/
class NotificationChannelFactory extends Factory
{
public function definition(): array
{
return [
'label' => $this->faker->text(10),
'provider' => 'email',
'data' => [
'email' => $this->faker->email,
],
'connected' => 1,
];
}
}