diff --git a/src/Commands/MigrationMakeCommand.php b/src/Commands/MigrationMakeCommand.php index c083259..800d1e5 100644 --- a/src/Commands/MigrationMakeCommand.php +++ b/src/Commands/MigrationMakeCommand.php @@ -60,6 +60,17 @@ public function __construct(Filesystem $files) $this->composer = app()['composer']; } + /** + * Alias for the fire method. + * + * In Laravel 5.5 the fire() method has been renamed to handle(). + * This alias provides support for both Laravel 5.4 and 5.5. + */ + public function handle() + { + $this->fire(); + } + /** * Execute the console command. *