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(SupplierRepositoryContract::class, SupplierRepository::class);
        $this->app->bind(SupplierServiceContract::class, SupplierService::class);
        $this->app->bind(SupplierProductRepositoryContract::class, SupplierProductRepository::class);
        $this->app->bind(SupplierProductServiceContract::class, SupplierProductService::class);
        $this->app->bind(OutletProductRepositoryContract::class, OutletProductRepository::class);
        $this->app->bind(OutletProductServiceContract::class, OutletProductService::class);
        $this->app->bind(UserRepositoryContract::class, UserRepository::class);
        $this->app->bind(UserServiceContract::class, UserService::class);
        $this->app->bind(ProductRepositoryContract::class, ProductRepository::class);
        $this->app->bind(ProductServiceContract::class, ProductService::class);
        $this->app->bind(CustomerRepositoryContract::class, CustomerRepository::class);
        $this->app->bind(CustomerServiceContract::class, CustomerService::class);
        $this->app->bind(OrderRepositoryContract::class, OrderRepository::class);
        $this->app->bind(OrderServiceContract::class, OrderService::class);
        $this->app->bind(OrderProductRepositoryContract::class, OrderProductRepository::class);
        $this->app->bind(OrderProductServiceContract::class, OrderProductService::class);
    }
public function register ( ) { $ this -> app -> bind ( SupplierRepositoryContract :: class , SupplierRepository :: class ) ; $ this -> app -> bind ( SupplierServiceContract :: class , SupplierService :: class ) ; $ this -> app -> bind ( SupplierProductRepositoryContract :: class , SupplierProductRepository :: class ) ; $ this -> app -> bind ( SupplierProductServiceContract :: class , SupplierProductService :: class ) ; $ this -> app -> bind ( OutletProductRepositoryContract :: class , OutletProductRepository :: class ) ; $ this -> app -> bind ( OutletProductServiceContract :: class , OutletProductService :: class ) ; $ this -> app -> bind ( UserRepositoryContract :: class , UserRepository :: class ) ; $ this -> app -> bind ( UserServiceContract :: class , UserService :: class ) ; $ this -> app -> bind ( ProductRepositoryContract :: class , ProductRepository :: class ) ; $ this -> app -> bind ( ProductServiceContract :: class , ProductService :: class ) ; $ this -> app -> bind ( CustomerRepositoryContract :: class , CustomerRepository :: class ) ; $ this -> app -> bind ( CustomerServiceContract :: class , CustomerService :: class ) ; $ this -> app -> bind ( OrderRepositoryContract :: class , OrderRepository :: class ) ; $ this -> app -> bind ( OrderServiceContract :: class , OrderService :: class ) ; $ this -> app -> bind ( OrderProductRepositoryContract :: class , OrderProductRepository :: class ) ; $ this -> app -> bind ( OrderProductServiceContract :: class , OrderProductService :: class ) ; }
Register any application services.
Register any application services .
//