diff --git a/Commands/GenerateProviderCommand.php b/Commands/GenerateProviderCommand.php index 733f4c9..8e93ae4 100644 --- a/Commands/GenerateProviderCommand.php +++ b/Commands/GenerateProviderCommand.php @@ -68,7 +68,8 @@ protected function getTemplateContents() return (new Stub('/'.$stub.'.stub', [ 'NAMESPACE' => $this->getClassNamespace($module), - 'CLASS' => $this->getClass() + 'CLASS' => $this->getClass(), + 'LOWER_NAME' => $module->getLowerName() ]))->render(); } diff --git a/Commands/stubs/scaffold/provider.stub b/Commands/stubs/scaffold/provider.stub index 2b855f2..6e70e54 100644 --- a/Commands/stubs/scaffold/provider.stub +++ b/Commands/stubs/scaffold/provider.stub @@ -1,8 +1,8 @@ -