diff --git a/src/Commands/TwilioCallCommand.php b/src/Commands/TwilioCallCommand.php index 97a8396..ec60756 100644 --- a/src/Commands/TwilioCallCommand.php +++ b/src/Commands/TwilioCallCommand.php @@ -58,6 +58,14 @@ public function fire() $this->twilio->call($this->argument('phone'), $url, [], $from); } + /** + * Proxy method for Laravel 5.1+ + */ + public function handle() + { + return $this->fire(); + } + /** * Get the console command arguments. * diff --git a/src/Commands/TwilioSmsCommand.php b/src/Commands/TwilioSmsCommand.php index 0e4a45e..db0f6d9 100644 --- a/src/Commands/TwilioSmsCommand.php +++ b/src/Commands/TwilioSmsCommand.php @@ -58,6 +58,14 @@ public function fire() $this->twilio->message($this->argument('phone'), $text); } + /** + * Proxy method for Laravel 5.1+ + */ + public function handle() + { + return $this->fire(); + } + /** * Get the console command arguments. *