Skip to content

Commit

Permalink
Fix #159
Browse files Browse the repository at this point in the history
  • Loading branch information
Gravitano committed May 21, 2015
1 parent 419481e commit 0601e2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Commands/GenerateProviderCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
4 changes: 2 additions & 2 deletions Commands/stubs/scaffold/provider.stub
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php namespace $MODULE_NAMESPACE$\$MODULE$\Providers;
<?php namespace $NAMESPACE$;

use Illuminate\Support\ServiceProvider;

class $NAME$ extends ServiceProvider {
class $CLASS$ extends ServiceProvider {

/**
* Indicates if loading of the provider is deferred.
Expand Down

0 comments on commit 0601e2e

Please sign in to comment.