This commit is contained in:
Sampanna Rimal
2024-09-11 12:32:15 +05:45
parent 82fab174dc
commit afb2c202d6
170 changed files with 3352 additions and 363 deletions

View File

@ -4,6 +4,10 @@ namespace Modules\Product\Providers;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
use Modules\Product\Repositories\CategoryInterface;
use Modules\Product\Repositories\CategoryRepository;
use Modules\Product\Repositories\FabricCategoryInterface;
use Modules\Product\Repositories\FabricCategoryRepository;
use Modules\Product\Repositories\ProductInterface;
use Modules\Product\Repositories\ProductRepository;
@ -33,6 +37,9 @@ class ProductServiceProvider extends ServiceProvider
{
$this->app->bind(ProductInterface::class,ProductRepository::class);
$this->app->register(RouteServiceProvider::class);
$this->app->bind(CategoryInterface::class,CategoryRepository::class);
$this->app->bind(FabricCategoryInterface::class,FabricCategoryRepository::class);
}
/**