Files
vito/database/factories/NotificationChannelFactory.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

25 lines
508 B
PHP

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