Using handle method name for laravel 5.5

parent d4afc387
...@@ -28,7 +28,7 @@ class RefreshThumbnailCommand extends Command ...@@ -28,7 +28,7 @@ class RefreshThumbnailCommand extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$this->line('Preparing to regenerate all thumbnails...'); $this->line('Preparing to regenerate all thumbnails...');
......
...@@ -23,7 +23,7 @@ class BuildTranslationsCacheCommand extends Command ...@@ -23,7 +23,7 @@ class BuildTranslationsCacheCommand extends Command
$this->translation = $translation; $this->translation = $translation;
} }
public function fire() public function handle()
{ {
foreach ($this->translation->all() as $translation) { foreach ($this->translation->all() as $translation) {
foreach (config('laravellocalization.supportedLocales') as $locale => $language) { foreach (config('laravellocalization.supportedLocales') as $locale => $language) {
......
...@@ -22,7 +22,7 @@ final class EntityScaffoldCommand extends Command ...@@ -22,7 +22,7 @@ final class EntityScaffoldCommand extends Command
$this->entityGenerator = $entityGenerator; $this->entityGenerator = $entityGenerator;
} }
public function fire() public function handle()
{ {
$this->entityGenerator $this->entityGenerator
->forModule($this->argument('module')) ->forModule($this->argument('module'))
......
...@@ -35,7 +35,7 @@ class ModuleScaffoldCommand extends Command ...@@ -35,7 +35,7 @@ class ModuleScaffoldCommand extends Command
/** /**
* *
*/ */
public function fire() public function handle()
{ {
$moduleName = $this->ask('Please enter the module name in the following format: vendor/name'); $moduleName = $this->ask('Please enter the module name in the following format: vendor/name');
list($vendor, $name) = $this->separateVendorAndName($moduleName); list($vendor, $name) = $this->separateVendorAndName($moduleName);
......
...@@ -20,7 +20,7 @@ class ThemeScaffoldCommand extends Command ...@@ -20,7 +20,7 @@ class ThemeScaffoldCommand extends Command
$this->themeScaffold = $themeScaffold; $this->themeScaffold = $themeScaffold;
} }
public function fire() public function handle()
{ {
$themeName = $this->ask('Please enter the theme name in the following format: vendor/name'); $themeName = $this->ask('Please enter the theme name in the following format: vendor/name');
list($vendor, $name) = $this->separateVendorAndName($themeName); list($vendor, $name) = $this->separateVendorAndName($themeName);
......
...@@ -22,7 +22,7 @@ class UpdateModuleCommand extends Command ...@@ -22,7 +22,7 @@ class UpdateModuleCommand extends Command
$this->composer = $composer; $this->composer = $composer;
} }
public function fire() public function handle()
{ {
$packageName = $this->getModulePackageName($this->argument('module')); $packageName = $this->getModulePackageName($this->argument('module'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment