generated from Nodarx/template
Add WOPI discovery service and connection diagnostics
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace KTXM\ServiceWopi;
|
||||
|
||||
use KTXF\Module\Configuration\ConsoleModuleContextInterface;
|
||||
use KTXF\Module\Configuration\ModuleContextInterface;
|
||||
use KTXF\Module\ModuleInstanceAbstract;
|
||||
use KTXM\ServiceWopi\Console\CheckCommand;
|
||||
|
||||
class Module extends ModuleInstanceAbstract
|
||||
{
|
||||
public function handle(): string { return 'service_wopi'; }
|
||||
public function label(): string { return 'WOPI Service'; }
|
||||
public function author(): string { return 'Ktrix'; }
|
||||
public function version(): string { return '0.0.1'; }
|
||||
public function description(): string { return 'WOPI discovery and connection diagnostics'; }
|
||||
|
||||
public function configure(ModuleContextInterface $context): void
|
||||
{
|
||||
if ($context instanceof ConsoleModuleContextInterface) {
|
||||
$context->registerCommand(CheckCommand::class);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user