es-laravel-example/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(
            Articles\ArticlesRepository::class,
            Articles\EloquentRepository::class
        );
    }
public function register ( ) { $ this -> app -> bind ( Articles \ ArticlesRepository :: class , Articles \ EloquentRepository :: class ) ; }
Register any application services.
Register any application services .