Using handle method name for laravel 5.5

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