diff --git a/src/WidgetGenerator.php b/src/WidgetGenerator.php index 77ae6a0..db3fb92 100644 --- a/src/WidgetGenerator.php +++ b/src/WidgetGenerator.php @@ -33,7 +33,7 @@ class WidgetGenerator extends LaravelGeneratorCommand * * @return void */ - public function fire() + public function handle() { $this->makeWidgetClass(); @@ -41,6 +41,16 @@ public function fire() $this->createView(); } } + + /** + * Execute the console command. + * + * @return void + */ + public function fire() + { + $this->handle(); + } /** * Create a new view file for the widget.