Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/app/Events/OtherPaymentEvent.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 OtherPaymentEvent { use Dispatchable, InteractsWithSockets, SerializesModels; public $property_owner; public $tenant; public $amount; /** * Create a new event instance. */ public function __construct($property_owner,$tenant,$amount) { $this->property_owner = $property_owner; $this->tenant = $tenant; $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.01 |
proxy
|
phpinfo
|
Настройка