%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex/production/vendor/wire-elements/modal/src/
Upload File :
Create Path :
Current File : /www/loslex/production/vendor/wire-elements/modal/src/LivewireModalServiceProvider.php

<?php

namespace LivewireUI\Modal;

use Livewire\Features\SupportConsoleCommands\Commands\UpgradeCommand;
use Livewire\Livewire;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

class LivewireModalServiceProvider extends PackageServiceProvider
{
    public function configurePackage(Package $package): void
    {
        $package
            ->name('wire-elements-modal')
            ->hasConfigFile()
            ->hasViews();
    }

    public function registeringPackage()
    {
        UpgradeCommand::addThirdPartyUpgradeStep(WireElementsModalUpgrade::class);
    }

    public function bootingPackage(): void
    {
        Livewire::component('livewire-ui-modal', Modal::class);
        Livewire::component('wire-elements-modal', Modal::class);
    }
}

Zerion Mini Shell 1.0