mirror of
https://github.com/archtechx/airwire.git
synced 2025-12-12 18:54:03 +00:00
Use fully qualified class names
This commit is contained in:
parent
22d028aefd
commit
32bdda3130
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class ComponentCommand extends Command
|
||||||
|
|
||||||
file_put_contents($path, str_replace(
|
file_put_contents($path, str_replace(
|
||||||
"function boot()\n {",
|
"function boot()\n {",
|
||||||
"function boot()\n {\n \Airwire\Airwire::component('{$snake}', {$name}::class);",
|
"function boot()\n {\n \Airwire\Airwire::component('{$snake}', \App\Airwire\{$name}::class);",
|
||||||
file_get_contents($path)
|
file_get_contents($path)
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue