callAfterResolving(Factory::class, function (Factory $factory) { $factory->add('phyre', [ 'path' => __DIR__ . '/../../resources/phyre-svg', 'prefix' => 'phyre', ]); }); $this->callAfterResolving(Factory::class, function (Factory $factory) { $factory->add('phyre_customer', [ 'path' => __DIR__ . '/../../resources/phyre-customer-svg', 'prefix' => 'phyre_customer', ]); }); App::singleton('virtualHostManager', function () { return new ApacheVirtualHostManager(); }); App::singleton('backupManager', function () { return new BackupManager(); }); } /** * Bootstrap any application services. */ public function boot(): void { Filament::serving(function () { // Using Vite Filament::registerViteTheme('resources/css/app.css'); }); Livewire::component('jobs-queue-notifications', JobQueueNotifications::class); Livewire::component('quick-service-restart-menu', QuickServiceRestartMenu::class); Livewire::component('hosting-subscription-backup-log', HostingSubscriptionBackupLog::class); Livewire::component('backup-log', BackupLog::class); Gate::define('delete-customer', [CustomerPolicy::class, 'delete']); } }