- $this->app->make('BookStack\Setting'),
- $this->app->make('Illuminate\Contracts\Cache\Repository')
+ $this->app->make(Setting::class),
+ $this->app->make(Repository::class)
+ );
+ });
+
+ $this->app->bind('images', function() {
+ return new ImageService(
+ $this->app->make(ImageManager::class),
+ $this->app->make(Factory::class),
+ $this->app->make(Repository::class)