app->bind('activity', function() { return new ActivityService( $this->app->make('BookStack\Activity'), $this->app->make('BookStack\Services\RestrictionService') ); }); $this->app->bind('views', function() { return new ViewService( $this->app->make('BookStack\View'), $this->app->make('BookStack\Services\RestrictionService') ); }); $this->app->bind('setting', function() { return new SettingService( $this->app->make('BookStack\Setting'), $this->app->make('Illuminate\Contracts\Cache\Repository') ); }); $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') ); }); } }