diff --git a/src/Console/BaseCommand.php b/src/Console/BaseCommand.php index 291aa3a..510ddc4 100755 --- a/src/Console/BaseCommand.php +++ b/src/Console/BaseCommand.php @@ -7,4 +7,8 @@ class BaseCommand extends Command { // Empty Base Command. + public function handle() + { + return $this->fire(); + } } diff --git a/src/Console/ResetCommand.php b/src/Console/ResetCommand.php index 851d191..5d8285c 100755 --- a/src/Console/ResetCommand.php +++ b/src/Console/ResetCommand.php @@ -44,6 +44,11 @@ public function __construct(Migrator $migrator) $this->migrator = $migrator; } + public function handle() + { + return $this->fire(); + } + /** * Execute the console command. * diff --git a/src/Console/RollbackCommand.php b/src/Console/RollbackCommand.php index c11b0b1..61963bf 100755 --- a/src/Console/RollbackCommand.php +++ b/src/Console/RollbackCommand.php @@ -69,6 +69,11 @@ public function fire() } } + public function handle() + { + return $this->fire(); + } + /** * Get the console command options. *