Using handle method name for laravel 5.5

parent b659b702
...@@ -40,7 +40,7 @@ class DeleteModuleCommand extends Command ...@@ -40,7 +40,7 @@ class DeleteModuleCommand extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$module = $this->argument('module'); $module = $this->argument('module');
......
...@@ -29,7 +29,7 @@ class DownloadModuleCommand extends Command ...@@ -29,7 +29,7 @@ class DownloadModuleCommand extends Command
* @return mixed * @return mixed
* @throws \Symfony\Component\Process\Exception\LogicException * @throws \Symfony\Component\Process\Exception\LogicException
*/ */
public function fire() public function handle()
{ {
$downloader = new Downloader($this->getOutput()); $downloader = new Downloader($this->getOutput());
try { try {
......
...@@ -51,7 +51,7 @@ class InstallCommand extends Command ...@@ -51,7 +51,7 @@ class InstallCommand extends Command
* *
* @return mixed * @return mixed
*/ */
public function fire() public function handle()
{ {
$this->blockMessage('Welcome!', 'Starting the installation process...', 'comment'); $this->blockMessage('Welcome!', 'Starting the installation process...', 'comment');
......
...@@ -10,7 +10,7 @@ class PublishModuleAssetsCommand extends Command ...@@ -10,7 +10,7 @@ class PublishModuleAssetsCommand extends Command
protected $name = 'asgard:publish:module'; protected $name = 'asgard:publish:module';
protected $description = 'Publish module assets'; protected $description = 'Publish module assets';
public function fire() public function handle()
{ {
$this->call('module:publish', ['module' => $this->argument('module')]); $this->call('module:publish', ['module' => $this->argument('module')]);
} }
......
...@@ -10,7 +10,7 @@ class PublishThemeAssetsCommand extends Command ...@@ -10,7 +10,7 @@ class PublishThemeAssetsCommand extends Command
protected $name = 'asgard:publish:theme'; protected $name = 'asgard:publish:theme';
protected $description = 'Publish theme assets'; protected $description = 'Publish theme assets';
public function fire() public function handle()
{ {
$theme = $this->argument('theme', null); $theme = $this->argument('theme', null);
......
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