Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/./../../lang/../../etc/../../test.qr.picotech.app/../../domains/watest.picotech.app/logs/.././public_html/./Modules/../Modules/../app/Events
الملفات الموجودة في هذا الـ Path:
.
..
DeleteSmsData.php
ProcessSendFailEvent.php
ProcessSendSuccessEvent.php
SendMail.php
SmsProcessed.php

مشاهدة ملف: ProcessSendSuccessEvent.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;
use Illuminate\Support\Collection;

class ProcessSendSuccessEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;
    public $success_queues;
    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct(Collection $queues)
    {
        $this->success_queues=$queues->toArray();
    }

    /**
     * Get the channels the event should broadcast on.
     *
     * @return \Illuminate\Broadcasting\Channel|array
     */
    public function broadcastOn()
    {
        return new PrivateChannel('channel-name');
    }
}