2FAuth/app/Events/GroupDeleting.php

30 lines
551 B
PHP
Raw Normal View History

<?php
namespace App\Events;
2021-12-02 13:15:53 +01:00
use App\Models\Group;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class GroupDeleting
{
use Dispatchable, InteractsWithSockets, SerializesModels;
/**
* @var \App\Models\Group
*/
public $group;
/**
* Create a new event instance.
*
2021-12-02 13:15:53 +01:00
* @param \App\Models\Group $group
* @return void
*/
public function __construct(Group $group)
{
$this->group = $group;
}
}