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