Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Events/InvitationSent.php
Назад
<?php namespace App\Events; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\Channel; use Illuminate\Contracts\Broadcasting\ShouldBroadcastNow; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class InvitationSent implements ShouldBroadcastNow { use Dispatchable, InteractsWithSockets, SerializesModels; public $unit; public $invitationCode; public $user; public $email; public function __construct($unit,$invitationCode,$user = null,$email = null) { $this->unit = $unit; $this->invitationCode = $invitationCode; $this->user = $user; $this->email = $email; } public function broadcastOn() { // You can specify a channel for the broadcast. For example, a user-specific channel. return new Channel('channel-name'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка