- $this->app->bind('images', function () {
- return new ImageService(
- $this->app->make(Image::class),
- $this->app->make(ImageManager::class),
- $this->app->make(Factory::class),
- $this->app->make(Repository::class)
- );
+ $this->app->singleton('theme', function () {
+ return $this->app->make(ThemeService::class);