Skip to content

Commit

Permalink
added support for laravel 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tabacitu committed Aug 30, 2017
1 parent 7964b87 commit 32bbe27
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Commands/MigrationMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 32bbe27

Please sign in to comment.