Skip to content

Commit a0c1bb7

Browse files
Update WidgetGenerator.php
debug
1 parent 1176d67 commit a0c1bb7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/WidgetGenerator.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,24 @@ class WidgetGenerator extends LaravelGeneratorCommand
3333
*
3434
* @return void
3535
*/
36-
public function fire()
36+
public function handle()
3737
{
3838
$this->makeWidgetClass();
3939

4040
if (! $this->option('plain')) {
4141
$this->createView();
4242
}
4343
}
44+
45+
/**
46+
* Execute the console command.
47+
*
48+
* @return void
49+
*/
50+
public function fire()
51+
{
52+
$this->handle();
53+
}
4454

4555
/**
4656
* Create a new view file for the widget.

0 commit comments

Comments
 (0)