Files
mail_manager/lib/Module.php
2026-02-10 20:26:45 -05:00

68 lines
1.5 KiB
PHP

<?php
namespace KTXM\MailManager;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Mail Manager Module
*
* Provides unified mail sending and management across multiple providers
* with context-aware service discovery and queued delivery.
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'mail_manager';
}
public function label(): string
{
return 'Mail Manager';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Mail management module for Ktrix - provides unified mail sending with provider abstraction and queue support';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'mail_manager' => [
'label' => 'Access Mail Manager',
'description' => 'View and access the mail manager module',
'group' => 'Mail Management'
],
];
}
public function registerBI(): array {
return [
'handle' => $this->handle(),
'namespace' => 'MailManager',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}