From 2b1273c45e2f8df7a625563e2283a17c14f02ae8 Mon Sep 17 00:00:00 2001 From: "Jan.Weskamp" Date: Sun, 16 Jul 2017 02:24:12 +0200 Subject: [PATCH] Fix for Laravel 5.5 (#540) Command fire method is now handle --- src/Console/GeneratorCommand.php | 2 +- src/Console/MetaCommand.php | 2 +- src/Console/ModelsCommand.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Console/GeneratorCommand.php b/src/Console/GeneratorCommand.php index 1f41b43..be753e0 100644 --- a/src/Console/GeneratorCommand.php +++ b/src/Console/GeneratorCommand.php @@ -74,7 +74,7 @@ class GeneratorCommand extends Command * * @return void */ - public function fire() + public function handle() { if (file_exists(base_path() . '/vendor/compiled.php') || file_exists(base_path() . '/bootstrap/cache/compiled.php') || diff --git a/src/Console/MetaCommand.php b/src/Console/MetaCommand.php index 5731fe0..e2bd73f 100644 --- a/src/Console/MetaCommand.php +++ b/src/Console/MetaCommand.php @@ -70,7 +70,7 @@ class MetaCommand extends Command * * @return void */ - public function fire() + public function handle() { $this->registerClassAutoloadExceptions(); diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 12836b8..7359a84 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -75,7 +75,7 @@ class ModelsCommand extends Command * * @return void */ - public function fire() + public function handle() { $filename = $this->option('filename'); $this->write = $this->option('write');