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;
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|