29 lines
500 B
PHP
29 lines
500 B
PHP
<?php
|
|
|
|
namespace Modules\User\Events;
|
|
|
|
use Modules\User\Entities\User;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class UserHasActivatedAccount
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* The user instance.
|
|
*
|
|
* @var \Modules\User\Entities\User
|
|
*/
|
|
public $user;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param \Modules\User\Entities\User $user
|
|
*/
|
|
public function __construct(User $user)
|
|
{
|
|
$this->user = $user;
|
|
}
|
|
}
|