d2d.emegrendeles.hu/app/Providers/AppServiceProvider.php
E98Developer 9e90feb662 fishh UI
2026-03-04 15:20:17 +01:00

58 lines
2.6 KiB
PHP

<?php
namespace App\Providers;
use App\Repositories\AddressRepository;
use App\Repositories\AddressRepositoryInterface;
use App\Repositories\ContactRepository;
use App\Repositories\ContactRepositoryInterface;
use App\Repositories\OrderRepository;
use App\Repositories\OrderRepositoryInterface;
use App\Repositories\PackRepository;
use App\Repositories\PackRepositoryInterface;
use App\Repositories\PriceListRepository;
use App\Repositories\PriceListRepositoryInterface;
use App\Repositories\ProducerRepository;
use App\Repositories\ProducerRepositoryInterface;
use App\Repositories\ProductRepository;
use App\Repositories\ProductRepositoryInterface;
use App\Repositories\ProfitCenterRepository;
use App\Repositories\ProfitCenterRepositoryInterface;
use App\Repositories\SupplierRepository;
use App\Repositories\SupplierRepositoryInterface;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
$this->app->bind(AddressRepositoryInterface::class, AddressRepository::class);
$this->app->bind(ContactRepositoryInterface::class, ContactRepository::class);
$this->app->bind(OrderRepositoryInterface::class, OrderRepository::class);
$this->app->bind(PackRepositoryInterface::class, PackRepository::class);
$this->app->bind(PriceListRepositoryInterface::class, PriceListRepository::class);
$this->app->bind(ProducerRepositoryInterface::class, ProducerRepository::class);
$this->app->bind(ProductRepositoryInterface::class, ProductRepository::class);
$this->app->bind(ProfitCenterRepositoryInterface::class, ProfitCenterRepository::class);
$this->app->bind(SupplierRepositoryInterface::class, SupplierRepository::class);
}
/**
* Bootstrap any application services.
*/
public function boot(): void
{
\Livewire\Livewire::component('app.filament.pages.price-list-processor', \App\Filament\Pages\PriceListProcessor::class);
/*
\Livewire\Livewire::component('filament.livewire.notifications', \Filament\Livewire\Notifications::class);
\Livewire\Livewire::component('filament.livewire.database-notifications', \Filament\Livewire\DatabaseNotifications::class);
\Livewire\Livewire::component('filament.livewire.sidebar', \Filament\Livewire\Sidebar::class);
\Livewire\Livewire::component('filament.livewire.topbar', \Filament\Livewire\Topbar::class);
\Livewire\Livewire::component('filament.livewire.global-search', \Filament\Livewire\GlobalSearch::class);
*/
}
}