28 lines
392 B
PHP
28 lines
392 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Events;
|
||
|
|
|
||
|
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
|
||
|
|
class UserConfirmation
|
||
|
|
{
|
||
|
|
use SerializesModels;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @var
|
||
|
|
*/
|
||
|
|
public $user;
|
||
|
|
public $otp;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* UserConfirmation constructor.
|
||
|
|
* @param $user
|
||
|
|
* @param $otp
|
||
|
|
*/
|
||
|
|
public function __construct($user,$otp)
|
||
|
|
{
|
||
|
|
$this->user = $user;
|
||
|
|
$this->otp = $otp;
|
||
|
|
}
|
||
|
|
}
|