���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
portal-cutunix
/
vendor
/
laravel
/
reverb
/
src
/
Viewing: ConfigApplicationProvider.php
<?php namespace Laravel\Reverb; use Illuminate\Support\Collection; use Laravel\Reverb\Contracts\ApplicationProvider; use Laravel\Reverb\Exceptions\InvalidApplication; class ConfigApplicationProvider implements ApplicationProvider { /** * Create a new config provider instance. */ public function __construct(protected Collection $applications) { // } /** * Get all of the configured applications as Application instances. * * @return \Illuminate\Support\Collection<\Laravel\Reverb\Application> */ public function all(): Collection { return $this->applications->map(function ($app) { return $this->findById($app['app_id']); }); } /** * Find an application instance by ID. * * @throws \Laravel\Reverb\Exceptions\InvalidApplication */ public function findById(string $id): Application { return $this->find('app_id', $id); } /** * Find an application instance by key. * * @throws \Laravel\Reverb\Exceptions\InvalidApplication */ public function findByKey(string $key): Application { return $this->find('key', $key); } /** * Find an application instance. * * @throws \Laravel\Reverb\Exceptions\InvalidApplication */ public function find(string $key, mixed $value): Application { $app = $this->applications->firstWhere($key, $value); if (! $app) { throw new InvalidApplication; } return new Application( $app['app_id'], $app['key'], $app['secret'], $app['ping_interval'], $app['activity_timeout'] ?? 30, $app['allowed_origins'], $app['max_message_size'], $app['options'] ?? [], ); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa