mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
24 lines
484 B
PHP
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,
|
|
];
|
|
}
|
|
}
|