WIP email notification
This commit is contained in:
32
Modules/Internal/Events/ForgetPassword.php
Normal file
32
Modules/Internal/Events/ForgetPassword.php
Normal 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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user