First commit for project
This commit is contained in:
21
app/Providers/CategoryServiceProvider.php
Normal file
21
app/Providers/CategoryServiceProvider.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use App\Repository\CategoryRepository;
|
||||
use App\Repository\Interfaces\CategoryRepository as CategoryRepositoryInterface;
|
||||
|
||||
class CategoryServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app
|
||||
->bind(CategoryRepositoryInterface::class, CategoryRepository::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user