Merge branch 'develop' of github.com:laravel-filament/filament into register-with-livewire

This commit is contained in:
iantasker
2021-03-12 13:05:29 +00:00
34 changed files with 930 additions and 5 deletions
+14
View File
@@ -26,6 +26,8 @@ abstract class PluginServiceProvider extends ServiceProvider
public function register()
{
$this->registeringPlugin();
$this->app->booting(function () {
foreach ($this->pages() as $page) {
Filament::registerPage($page);
@@ -57,6 +59,8 @@ abstract class PluginServiceProvider extends ServiceProvider
Filament::provideToScript($this->scriptData());
});
});
$this->pluginRegistered();
}
protected function pages()
@@ -64,6 +68,16 @@ abstract class PluginServiceProvider extends ServiceProvider
return $this->pages;
}
protected function pluginRegistered()
{
//
}
protected function registeringPlugin()
{
//
}
protected function resources()
{
return $this->resources;