WIP email notification

This commit is contained in:
pajri
2022-12-29 09:22:28 +07:00
parent 77f67fca1e
commit cb834d10bb
8 changed files with 211 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Modules\Internal\Events;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Queue\SerializesModels;
class ForgetPassword
{
use SerializesModels;
public $data;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($data)
{
$this->data = $data;
}
/**
* Get the channels the event should be broadcast on.
*
* @return array
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}