This commit is contained in:
Mark Gregory
2026-04-21 13:25:46 +01:00
parent 51be9e5e11
commit 00b4d14ce4
4 changed files with 20 additions and 5 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace $NAMESPACE$;
class ModuleInfo
{
protected static string $moduleName = '$MODULE$';
/**
* defines the Module Name
* @return string
*/
public static function name(): string
{
return static::$moduleName;
}
/**
* define the lowercase version
* @return string
*/
public static function nameLower(): string
{
return strtolower(static::$moduleName);
}
}