KUJUNTI.ID MINISH3LL
Path : /var/www/html/phkaymedia/vendor/jantinnerezo/livewire-alert/src/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/phkaymedia/vendor/jantinnerezo/livewire-alert/src/LivewireAlertServiceProvider.php


<?php

namespace Jantinnerezo\LivewireAlert;

use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
class LivewireAlertServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     */
    public function boot()
    {
        $this->registerViews();
        $this->registerPublishables();
    }

    protected function registerViews()
    {
        $this->loadViewsFrom(__DIR__ . '/../resources/views', 'livewire-alert');

        View::composer('livewire-alert::components.scripts', function ($view) {
            $view->jsPath = __DIR__.'/../public/livewire-alert.js';
        });

        Livewire::component('livewire-alert-demo', LivewireAlert::class);
    }

    public function registerPublishables()
    {
        if ($this->app->runningInConsole()) {
            $this->publishes([
                __DIR__ . '/../config/config.php' => config_path('livewire-alert.php'),
            ], 'livewire-alert:config');

            $this->publishes([
                __DIR__ . '/../public' => public_path('vendor/livewire-alert')
            ], 'livewire-alert:assets');
        }
    }

    /**
     * Register the application services.
     */
    public function register()
    {
        // Automatically apply the package configuration
        $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'livewire-alert');
    }
}

© KUJUNTI.ID