new feature

This commit is contained in:
JaguarJack
2022-12-16 18:30:36 +08:00
parent 098463f4e1
commit 47a76af4b0
13 changed files with 170 additions and 61 deletions

View File

@@ -17,9 +17,9 @@ class Controllers implements OptionInterface
foreach ($controllerFiles as $controllerFile) {
$controllers[] = [
'label' => Str::of(File::name($controllerFile))->remove('Controller'),
'label' => Str::of(File::name($controllerFile))->lcfirst()->remove('Controller'),
'value' => Str::of(File::name($controllerFile))->remove('Controller'),
'value' => Str::of(File::name($controllerFile))->lcfirst()->remove('Controller'),
];
}
}