init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
<?php
namespace App\Events\PainelSenha;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow;
use Illuminate\Foundation\Events\Dispatchable;
class FilaEvent implements ShouldBroadcastNow
{
use Dispatchable, InteractsWithSockets;
private $setorTipoId = null;
private $centroCustoId = null;
private $moduloIdentificador = null;
public $salaId = null;
public $fila = null;
public function __construct($setorTipoId, $centroCustoId, $moduloIdentificador, $fila, $salaId = null)
{
$this->setorTipoId = $setorTipoId;
$this->centroCustoId = $centroCustoId;
$this->moduloIdentificador = $moduloIdentificador;
$this->salaId = $salaId;
$this->fila = $fila;
}
public function broadcastOn()
{
return new PrivateChannel(app('config')->get('database.default') . '-painel-senha-fila');
}
public function broadcastAs()
{
return "{$this->setorTipoId}.{$this->centroCustoId}.{$this->moduloIdentificador}.updated";
}
}