mohammad-fouladgar /
laravel-mobile-verification
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Fouladgar\MobileVerification\Events; |
||
| 4 | |||
| 5 | use Fouladgar\MobileVerification\Contracts\MustVerifyMobile; |
||
| 6 | use Illuminate\Queue\SerializesModels; |
||
| 7 | |||
| 8 | class Verified |
||
| 9 | { |
||
| 10 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | /** |
||
| 13 | * The verified user. |
||
| 14 | * |
||
| 15 | * @var MustVerifyMobile |
||
| 16 | */ |
||
| 17 | public $user; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The validated request. |
||
| 21 | * |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | protected $request; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create a new event instance. |
||
| 28 | * |
||
| 29 | * @param MustVerifyMobile $user |
||
| 30 | * @param array $request |
||
| 31 | */ |
||
| 32 | public function __construct(MustVerifyMobile $user, array $request) |
||
| 33 | { |
||
| 34 | $this->user = $user; |
||
| 35 | $this->request = $request; |
||
| 36 | } |
||
| 37 | } |
||
| 38 |