JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr gilour

File "CompanyMenuEvent.php"

Full Path: /home/sibcards/public_html/app/Events/CompanyMenuEvent.php
File size: 864 bytes
MIME-type: text/x-php
Charset: utf-8

<?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 CompanyMenuEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;
    public $menu;
    /**
     * Create a new event instance.
     */
    public function __construct($menu)
    {
        
        $this->menu = $menu;
    }

    /**
     * Get the channels the event should broadcast on.
     *
     * @return array<int, \Illuminate\Broadcasting\Channel>
     */
    public function broadcastOn(): array
    {
        return [
            new PrivateChannel('channel-name'),
        ];
    }
}