Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Events/BankRentPaymentEvent.php
Назад
<?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class BankRentPaymentEvent { use Dispatchable, InteractsWithSockets, SerializesModels; public $tenant; public $unit; public $amount; /** * Create a new event instance. */ public function __construct($tenant,$unit,$amount) { $this->tenant = $tenant; $this->unit = $unit; $this->amount = $amount; } /** * Get the channels the event should broadcast on. * * @return array<int, \Illuminate\Broadcasting\Channel> */ public function broadcastOn(): array { return [ new PrivateChannel('channel-name'), ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка