2FAuth/app/Events/GroupDeleted.php
2023-03-26 17:13:32 +02:00

29 lines
509 B
PHP

<?php
namespace App\Events;
use App\Models\Group;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class GroupDeleted
{
use Dispatchable, InteractsWithSockets, SerializesModels;
/**
* @var \App\Models\Group
*/
public $group;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(Group $group)
{
$this->group = $group;
}
}