Using handle method name for laravel 5.5

parent d4afc387
......@@ -28,7 +28,7 @@ class RefreshThumbnailCommand extends Command
*
* @return mixed
*/
public function fire()
public function handle()
{
$this->line('Preparing to regenerate all thumbnails...');
......
......@@ -23,7 +23,7 @@ class BuildTranslationsCacheCommand extends Command
$this->translation = $translation;
}
public function fire()
public function handle()
{
foreach ($this->translation->all() as $translation) {
foreach (config('laravellocalization.supportedLocales') as $locale => $language) {
......
......@@ -22,7 +22,7 @@ final class EntityScaffoldCommand extends Command
$this->entityGenerator = $entityGenerator;
}
public function fire()
public function handle()
{
$this->entityGenerator
->forModule($this->argument('module'))
......
......@@ -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');
list($vendor, $name) = $this->separateVendorAndName($moduleName);
......
......@@ -20,7 +20,7 @@ class ThemeScaffoldCommand extends Command
$this->themeScaffold = $themeScaffold;
}
public function fire()
public function handle()
{
$themeName = $this->ask('Please enter the theme name in the following format: vendor/name');
list($vendor, $name) = $this->separateVendorAndName($themeName);
......
......@@ -22,7 +22,7 @@ class UpdateModuleCommand extends Command
$this->composer = $composer;
}
public function fire()
public function handle()
{
$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