<?php

namespace Modules\Basket\Providers;

use Nwidart\Modules\Support\ModuleServiceProvider;

class BasketServiceProvider extends ModuleServiceProvider
{
    protected string $name = 'Basket';

    protected string $nameLower = 'basket';

    protected array $providers = [
        EventServiceProvider::class,
        RouteServiceProvider::class,
    ];

    public function register(): void
    {
        parent::register();
        $this->app->bind(
            \Modules\Basket\Repositories\Interfaces\BasketRepositoryInterface::class,
            \Modules\Basket\Repositories\BasketRepository::class
        );
    }
}
