RepositoryServiceProvider.php 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\ServiceProvider;
  4. class RepositoryServiceProvider extends ServiceProvider
  5. {
  6. /**
  7. * Register services.
  8. *
  9. * @return void
  10. */
  11. public function register()
  12. {
  13. //
  14. }
  15. /**
  16. * Bootstrap services.
  17. *
  18. * @return void
  19. */
  20. public function boot()
  21. {
  22. $this->app->bind(\App\Repositories\AdminLogRepository::class, \App\Repositories\Eloquent\AdminLogRepositoryEloquent::class);
  23. $this->app->bind(\App\Repositories\UserRepository::class, \App\Repositories\Eloquent\UserRepositoryEloquent::class);
  24. $this->app->bind(\App\Repositories\RoleRepository::class, \App\Repositories\Eloquent\RoleRepositoryEloquent::class);
  25. $this->app->bind(\App\Repositories\MenuRepository::class, \App\Repositories\Eloquent\MenuRepositoryEloquent::class);
  26. $this->app->bind(\App\Repositories\MenuUrlRepository::class, \App\Repositories\Eloquent\MenuUrlRepositoryEloquent::class);
  27. $this->app->bind(\App\Repositories\IndentNumRepository::class, \App\Repositories\Eloquent\IndentNumRepositoryEloquent::class);
  28. $this->app->bind(\App\Repositories\MemberRepository::class, \App\Repositories\Eloquent\MemberRepositoryEloquent::class);
  29. $this->app->bind(\App\Repositories\RegionRepository::class, \App\Repositories\Eloquent\RegionRepositoryEloquent::class);
  30. $this->app->bind(\App\Repositories\MemberClanRepository::class, \App\Repositories\Eloquent\MemberClanRepositoryEloquent::class);
  31. $this->app->bind(\App\Repositories\MemberLogRepository::class, \App\Repositories\Eloquent\MemberLogRepositoryEloquent::class);
  32. $this->app->bind(\App\Repositories\BannerRepository::class, \App\Repositories\Eloquent\BannerRepositoryEloquent::class);
  33. $this->app->bind(\App\Repositories\NoticeRepository::class, \App\Repositories\Eloquent\NoticeRepositoryEloquent::class);
  34. $this->app->bind(\App\Repositories\NoticeReadRepository::class, \App\Repositories\Eloquent\NoticeReadRepositoryEloquent::class);
  35. $this->app->bind(\App\Repositories\MoneyDetailRepository::class, \App\Repositories\Eloquent\MoneyDetailRepositoryEloquent::class);
  36. $this->app->bind(\App\Repositories\ConfigRepository::class, \App\Repositories\Eloquent\ConfigRepositoryEloquent::class);
  37. $this->app->bind(\App\Repositories\WithdrawRepository::class, \App\Repositories\Eloquent\WithdrawRepositoryEloquent::class);
  38. $this->app->bind(\App\Repositories\WithdrawConfigRepository::class, \App\Repositories\Eloquent\WithdrawConfigRepositoryEloquent::class);
  39. $this->app->bind(\App\Repositories\InviteCodeRepository::class, \App\Repositories\Eloquent\InviteCodeRepositoryEloquent::class);
  40. $this->app->bind(\App\Repositories\CoinTypeRepository::class, \App\Repositories\Eloquent\CoinTypeRepositoryEloquent::class);
  41. $this->app->bind(\App\Repositories\MemberCoinsRepository::class, \App\Repositories\Eloquent\MemberCoinsRepositoryEloquent::class);
  42. $this->app->bind(\App\Repositories\BlockInfoRepository::class, \App\Repositories\Eloquent\BlockInfoRepositoryEloquent::class);
  43. $this->app->bind(\App\Repositories\BlockItemsRepository::class, \App\Repositories\Eloquent\BlockItemsRepositoryEloquent::class);
  44. $this->app->bind(\App\Repositories\BroadcastRepository::class, \App\Repositories\Eloquent\BroadcastRepositoryEloquent::class);
  45. $this->app->bind(\App\Repositories\MessageRepository::class, \App\Repositories\Eloquent\MessageRepositoryEloquent::class);
  46. $this->app->bind(\App\Repositories\ContractRepository::class, \App\Repositories\Eloquent\ContractRepositoryEloquent::class);
  47. $this->app->bind(\App\Repositories\InvestRepository::class, \App\Repositories\Eloquent\InvestRepositoryEloquent::class);
  48. $this->app->bind(\App\Repositories\MemberBothRepository::class, \App\Repositories\Eloquent\MemberBothRepositoryEloquent::class);
  49. $this->app->bind(\App\Repositories\MemberGradeRepository::class, \App\Repositories\Eloquent\MemberGradeRepositoryEloquent::class);
  50. $this->app->bind(\App\Repositories\ContractDistributionRepository::class, \App\Repositories\Eloquent\ContractDistributionRepositoryEloquent::class);
  51. $this->app->bind(\App\Repositories\ContractLogRepository::class, \App\Repositories\Eloquent\ContractLogRepositoryEloquent::class);
  52. $this->app->bind(\App\Repositories\GrantPondRepository::class, \App\Repositories\Eloquent\GrantPondRepositoryEloquent::class);
  53. $this->app->bind(\App\Repositories\GrantItemRepository::class, \App\Repositories\Eloquent\GrantItemRepositoryEloquent::class);
  54. $this->app->bind(\App\Repositories\GrantDistributionRepository::class, \App\Repositories\Eloquent\GrantDistributionRepositoryEloquent::class);
  55. $this->app->bind(\App\Repositories\DistributionItemRepository::class, \App\Repositories\Eloquent\DistributionItemRepositoryEloquent::class);
  56. $this->app->bind(\App\Repositories\DistributionItemRepository::class, \App\Repositories\Eloquent\DistributionItemRepositoryEloquent::class);
  57. //:end-bindings:
  58. }
  59. }