1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 10:44:03 +00:00

Use fully qualified class names

This commit is contained in:
Samuel Štancl 2021-05-23 18:04:59 +02:00 committed by GitHub
parent 22d028aefd
commit 32bdda3130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
)); ));