34 lines
640 B
PHP
34 lines
640 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use App\Http\Services\Admin\ProductCategory\ProductCategoryServiceInterface;
|
|
use App\Http\Services\Admin\ProductCategory\ProductCategoryService;
|
|
|
|
class ServiceServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function register()
|
|
{
|
|
$this->app->bind(
|
|
ProductCategoryServiceInterface::class,
|
|
ProductCategoryService::class
|
|
);
|
|
}
|
|
|
|
/**
|
|
* Bootstrap services.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
}
|