We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1176d67 commit a0c1bb7Copy full SHA for a0c1bb7
src/WidgetGenerator.php
@@ -33,14 +33,24 @@ class WidgetGenerator extends LaravelGeneratorCommand
33
*
34
* @return void
35
*/
36
- public function fire()
+ public function handle()
37
{
38
$this->makeWidgetClass();
39
40
if (! $this->option('plain')) {
41
$this->createView();
42
}
43
44
+
45
+ /**
46
+ * Execute the console command.
47
+ *
48
+ * @return void
49
+ */
50
+ public function fire()
51
+ {
52
+ $this->handle();
53
+ }
54
55
/**
56
* Create a new view file for the widget.
0 commit comments