Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function register()
- {
- $this->app->singleton("RestaurantObjectServiceImpl", function ($app) {
- return new RestaurantImpl(
- $app->make(TimetableService::class),
- $app->make(ObjectRepository::class),
- $app->make(ServiceService::class),
- $app->make(ObjectServiceService::class),
- $app->make(ServiceCategoryService::class)
- );
- });
- $this->app->singleton("BeautyObjectServiceImpl", function ($app) {
- return new BeautyImpl(
- $app->make(TimetableService::class),
- $app->make(ObjectRepository::class),
- $app->make(ServiceService::class),
- $app->make(ObjectServiceService::class),
- $app->make(ServiceCategoryService::class)
- );
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement