3 namespace BookStack\Providers;
5 use BookStack\Actions\ActivityLogger;
6 use BookStack\Theming\ThemeService;
7 use Illuminate\Support\ServiceProvider;
9 class CustomFacadeProvider extends ServiceProvider
12 * Bootstrap the application services.
16 public function boot()
22 * Register the application services.
26 public function register()
28 $this->app->singleton('activity', function () {
29 return $this->app->make(ActivityLogger::class);
32 $this->app->singleton('theme', function () {
33 return $this->app->make(ThemeService::class);