mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 16:09:28 +01:00
26 lines
624 B
Plaintext
26 lines
624 B
Plaintext
<?php
|
|
|
|
namespace $namespace$;
|
|
|
|
use Filament\Contracts\Plugin;
|
|
use Filament\Panel;
|
|
|
|
class $class$ implements Plugin
|
|
{
|
|
public function getId(): string
|
|
{
|
|
return '$id$';
|
|
}
|
|
|
|
public function register(Panel $panel): void
|
|
{
|
|
// Allows you to use any configuration option that is available to the panel.
|
|
// This includes registering resources, custom pages, themes, render hooks and more.
|
|
}
|
|
|
|
public function boot(Panel $panel): void
|
|
{
|
|
// Is run only when the panel that the plugin is being registered to is actually in-use. It is executed by a middleware class.
|
|
}
|
|
}
|