Skip to content

Commit 35aedd9

Browse files
committed
Update laravel command name, change form laravel: to make:
1 parent 21a03ef commit 35aedd9

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/Console/Commands/LaravelHelperCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class LaravelHelperCommand extends GeneratorCommand
1111
*
1212
* @var string
1313
*/
14-
protected $name = 'laravel:helper';
14+
protected $name = 'make:helper';
1515

1616
/**
1717
* The name and signature of the console command.
1818
*
1919
* @var string
2020
*/
21-
protected $signature = 'laravel:helper {name}';
21+
protected $signature = 'make:helper {name}';
2222

2323
/**
2424
* The console command description.
@@ -41,7 +41,7 @@ class LaravelHelperCommand extends GeneratorCommand
4141
*/
4242
protected function getStub()
4343
{
44-
return __DIR__.'/../Stubs/helper.stub';
44+
return __DIR__ . '/../Stubs/helper.stub';
4545
}
4646

4747
/**

src/Console/Commands/LaravelObserverCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class LaravelObserverCommand extends GeneratorCommand
1111
*
1212
* @var string
1313
*/
14-
protected $name = 'laravel:observer';
14+
protected $name = 'make:observer';
1515

1616
/**
1717
* The name and signature of the console command.
1818
*
1919
* @var string
2020
*/
21-
protected $signature = 'laravel:observer {name}';
21+
protected $signature = 'make:observer {name}';
2222

2323
/**
2424
* The console command description.
@@ -41,7 +41,7 @@ class LaravelObserverCommand extends GeneratorCommand
4141
*/
4242
protected function getStub()
4343
{
44-
return __DIR__.'/../Stubs/observer.stub';
44+
return __DIR__ . '/../Stubs/observer.stub';
4545
}
4646

4747
/**

src/Console/Commands/LaravelRepositoryCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class LaravelRepositoryCommand extends GeneratorCommand
1111
*
1212
* @var string
1313
*/
14-
protected $name = 'laravel:repository';
14+
protected $name = 'make:repository';
1515

1616
/**
1717
* The name and signature of the console command.
1818
*
1919
* @var string
2020
*/
21-
protected $signature = 'laravel:repository {name}';
21+
protected $signature = 'make:repository {name}';
2222

2323
/**
2424
* The console command description.
@@ -41,7 +41,7 @@ class LaravelRepositoryCommand extends GeneratorCommand
4141
*/
4242
protected function getStub()
4343
{
44-
return __DIR__.'/../Stubs/repository.stub';
44+
return __DIR__ . '/../Stubs/repository.stub';
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)