���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
/
livewire
/
flux
/
src
/
Viewing: FluxServiceProvider.php
<?php namespace Flux; use Illuminate\View\ComponentAttributeBag; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Blade; use Illuminate\Support\Arr; class FluxServiceProvider extends ServiceProvider { public function register(): void { $this->app->alias(FluxManager::class, 'flux'); $this->app->singleton(FluxManager::class); $loader = \Illuminate\Foundation\AliasLoader::getInstance(); $loader->alias('Flux', \Flux\Flux::class); } public function boot(): void { $this->bootComponentPath(); $this->bootTagCompiler(); $this->bootMacros(); app('livewire')->propertySynthesizer(DateRangeSynth::class); AssetManager::boot(); app('flux')->boot(); $this->bootCommands(); } public function bootComponentPath() { if (file_exists(resource_path('views/flux'))) { Blade::anonymousComponentPath(resource_path('views/flux'), 'flux'); } Blade::anonymousComponentPath(__DIR__.'/../stubs/resources/views/flux', 'flux'); } public function bootTagCompiler() { $compiler = new FluxTagCompiler( app('blade.compiler')->getClassComponentAliases(), app('blade.compiler')->getClassComponentNamespaces(), app('blade.compiler') ); app()->bind('flux.compiler', fn () => $compiler); app('blade.compiler')->precompiler(function ($in) use ($compiler) { return $compiler->compile($in); }); } public function bootMacros() { app('view')::macro('getCurrentComponentData', function () { return $this->currentComponentData; }); ComponentAttributeBag::macro('pluck', function ($key, $default = null) { $result = $this->get($key); unset($this->attributes[$key]); return $result ?? $default; }); } public function bootCommands() { if (! $this->app->runningInConsole()) { return; } $this->commands([ Console\ActivateCommand::class, Console\PublishCommand::class, Console\IconCommand::class, ]); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa