first commit
This commit is contained in:
44
src/AuditLog/AuditLogModule.php
Normal file
44
src/AuditLog/AuditLogModule.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Netig\Netslim\AuditLog;
|
||||
|
||||
use Netig\Netslim\Kernel\Runtime\Module\ModuleInterface;
|
||||
use Netig\Netslim\Kernel\Runtime\Module\ProvidesSchemaInterface;
|
||||
use Psr\Container\ContainerInterface;
|
||||
use Slim\App;
|
||||
|
||||
/**
|
||||
* Journal d'audit des actions métier et techniques.
|
||||
*/
|
||||
final class AuditLogModule implements ModuleInterface, ProvidesSchemaInterface
|
||||
{
|
||||
public function definitions(): array
|
||||
{
|
||||
return require __DIR__ . '/Infrastructure/dependencies.php';
|
||||
}
|
||||
|
||||
/** @param App<ContainerInterface> $app */
|
||||
public function registerRoutes(App $app): void {}
|
||||
|
||||
public function templateNamespaces(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function twigExtensions(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
public function migrationDirectories(): array
|
||||
{
|
||||
return [__DIR__ . '/Migrations'];
|
||||
}
|
||||
|
||||
public function requiredTables(): array
|
||||
{
|
||||
return ['audit_log'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user