mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
ec24120d2a
Signed-off-by: snipe <snipe@snipe.net>
25 lines
501 B
PHP
25 lines
501 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
use App\Models\User;
|
|
|
|
class UserMerged
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(User $from_user, User $to_user, ?User $admin)
|
|
{
|
|
$this->merged_from = $from_user;
|
|
$this->merged_to = $to_user;
|
|
$this->admin = $admin;
|
|
}
|
|
}
|