Files
laravel_modules/src/Commands/stubs/Moduleinfo.stub
T

27 lines
449 B
Plaintext
Executable File

<?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);
}
}