Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. public function register()
  2. {
  3.  
  4.  
  5. $this->app->singleton("RestaurantObjectServiceImpl", function ($app) {
  6. return new RestaurantImpl(
  7. $app->make(TimetableService::class),
  8. $app->make(ObjectRepository::class),
  9. $app->make(ServiceService::class),
  10. $app->make(ObjectServiceService::class),
  11. $app->make(ServiceCategoryService::class)
  12. );
  13. });
  14.  
  15. $this->app->singleton("BeautyObjectServiceImpl", function ($app) {
  16. return new BeautyImpl(
  17. $app->make(TimetableService::class),
  18. $app->make(ObjectRepository::class),
  19. $app->make(ServiceService::class),
  20. $app->make(ObjectServiceService::class),
  21. $app->make(ServiceCategoryService::class)
  22.  
  23. );
  24. });
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement