19 lines
420 B
PHP
19 lines
420 B
PHP
<?php
|
|
|
|
namespace Nwidart\Modules\Providers;
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
use Nwidart\Modules\Contracts\RepositoryInterface;
|
|
use Nwidart\Modules\Laravel\LaravelFileRepository;
|
|
|
|
class ContractsServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Register some binding.
|
|
*/
|
|
public function register()
|
|
{
|
|
$this->app->bind(RepositoryInterface::class, LaravelFileRepository::class);
|
|
}
|
|
}
|