Файловый менеджер - Редактировать - /var/www/vhosts/aviointeriors.dev1.mndrn.cloud/app/update/UserNotificationEvent.php.tar
Назад
var/www/vhosts/aviointeriors.dev1.mndrn.cloud/app/Events/UserNotificationEvent.php 0000644 00000001205 15233463247 0024516 0 ustar 00 <?php namespace App\Events; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; class UserNotificationEvent implements ShouldBroadcast { use InteractsWithSockets, SerializesModels; public $message; public $targetCompany; public function __construct($targetCompany, $message) { $this->targetCompany = $targetCompany; $this->message = $message; } public function broadcastOn() { return ['notifications.company.'.$this->targetCompany->id]; } public function broadcastAs() { return 'notification'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.5 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка