app/Providers/AppServiceProvider.php
/**
     * Register any application services.
     *
     * @return void
     */
Register any application services.
@return void
Register any application services . @return void
public function register()
    {
        $this->app->bind(ICategoryRepository::class, CategoryRepository::class);
        $this->app->bind(ISolarPanelRepository::class, SolarPanelRepository::class);
    }
public function register ( ) { $ this -> app -> bind ( ICategoryRepository :: class , CategoryRepository :: class ) ; $ this -> app -> bind ( ISolarPanelRepository :: class , SolarPanelRepository :: class ) ; }
Register any application services.
Register any application services .