[CONFIG] Make it possible to write module configuration in a config.{php,yml,yaml,xml} file and set each value as properties in the module object
This commit is contained in:
@@ -42,9 +42,9 @@ abstract class Module
|
||||
}
|
||||
}
|
||||
|
||||
public function name(): string
|
||||
public static function name()
|
||||
{
|
||||
return Formatting::camelCaseToSnakeCase(explode('\\', static::class)[2]);
|
||||
return mb_strtolower(explode('\\', static::class)[2]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user