add env manager

This commit is contained in:
crazywhalecc
2024-04-07 15:52:24 +08:00
committed by Jerry Ma
parent 254844b5ec
commit bd8f91d466
24 changed files with 389 additions and 203 deletions

View File

@@ -206,4 +206,9 @@ abstract class LibraryBase
}
logger()->debug('enabling ' . static::NAME . " without {$name}");
}
protected function getSnakeCaseName(): string
{
return str_replace('-', '_', static::NAME);
}
}