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