33 lines
556 B
PHP
33 lines
556 B
PHP
<?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');
|
|
}
|
|
}
|