packages/press-wiki/src/WpWikiLetterTopicPlugin.php
<?php
namespace Moox\PressWiki;
use Filament\Contracts\Plugin;
use Filament\Panel;
use Filament\Support\Concerns\EvaluatesClosures;
use Moox\PressWiki\Resources\WpWikiLetterTopicResource;
class WpWikiLetterTopicPlugin implements Plugin
{
use EvaluatesClosures;
public function getId(): string
{
return 'wp-wiki-letter-topic';
}
public function register(Panel $panel): void
{
$panel->resources([
WpWikiLetterTopicResource::class,
]);
}
public function boot(Panel $panel): void
{
//
}
public static function make(): static
{
return app(static::class);
}
}