mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #16341 from aSeriousDeveloper/filamentmanager-alias
Add alias for `FilamentManager::class` from abstract `filament`
This commit is contained in:
@@ -48,6 +48,8 @@ class FilamentServiceProvider extends PackageServiceProvider
|
||||
return new FilamentManager;
|
||||
});
|
||||
|
||||
$this->app->alias('filament', FilamentManager::class);
|
||||
|
||||
$this->app->singleton(PanelRegistry::class, function (): PanelRegistry {
|
||||
return new PanelRegistry;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user