!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/vendor/laravel/framework/src/Illuminate/Notifications/Events/   drwxrwxr-x
Free 13.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     BroadcastNotificationCreated.php (2.79 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Notifications\Events;

use 
Illuminate\Broadcasting\PrivateChannel;
use 
Illuminate\Bus\Queueable;
use 
Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use 
Illuminate\Queue\SerializesModels;

class 
BroadcastNotificationCreated implements ShouldBroadcast
{
    use 
QueueableSerializesModels;

    
/**
     * The notifiable entity who received the notification.
     *
     * @var mixed
     */
    
public $notifiable;

    
/**
     * The notification instance.
     *
     * @var \Illuminate\Notifications\Notification
     */
    
public $notification;

    
/**
     * The notification data.
     *
     * @var array
     */
    
public $data = [];

    
/**
     * Create a new event instance.
     *
     * @param  mixed  $notifiable
     * @param  \Illuminate\Notifications\Notification  $notification
     * @param  array  $data
     * @return void
     */
    
public function __construct($notifiable$notification$data)
    {
        
$this->data $data;
        
$this->notifiable $notifiable;
        
$this->notification $notification;
    }

    
/**
     * Get the channels the event should broadcast on.
     *
     * @return array
     */
    
public function broadcastOn()
    {
        
$channels $this->notification->broadcastOn();

        if (! empty(
$channels)) {
            return 
$channels;
        }

        if (
is_string($channels $this->channelName())) {
            return [new 
PrivateChannel($channels)];
        }

        return 
collect($channels)->map(function ($channel) {
            return new 
PrivateChannel($channel);
        })->
all();
    }

    
/**
     * Get the broadcast channel name for the event.
     *
     * @return array|string
     */
    
protected function channelName()
    {
        if (
method_exists($this->notifiable'receivesBroadcastNotificationsOn')) {
            return 
$this->notifiable->receivesBroadcastNotificationsOn($this->notification);
        }

        
$class str_replace('\\''.'get_class($this->notifiable));

        return 
$class.'.'.$this->notifiable->getKey();
    }

    
/**
     * Get the data that should be sent with the broadcasted event.
     *
     * @return array
     */
    
public function broadcastWith()
    {
        if (
method_exists($this->notification'broadcastWith')) {
            return 
$this->notification->broadcastWith();
        }

        return 
array_merge($this->data, [
            
'id' => $this->notification->id,
            
'type' => $this->broadcastType(),
        ]);
    }

    
/**
     * Get the type of the notification being broadcast.
     *
     * @return string
     */
    
public function broadcastType()
    {
        return 
method_exists($this->notification'broadcastType')
                    ? 
$this->notification->broadcastType()
                    : 
get_class($this->notification);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0054 ]--