28 lines
486 B
PHP
28 lines
486 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Providers;
|
||
|
|
||
|
use App\Interfaces\OrderRepositoryInterface;
|
||
|
use App\Repositories\OrderRepository;
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
|
||
|
class RepositoryServiceProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Register services.
|
||
|
*/
|
||
|
public function register()
|
||
|
{
|
||
|
$this->app->bind(OrderRepositoryInterface::class, OrderRepository::class);
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Bootstrap services.
|
||
|
*/
|
||
|
public function boot(): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|