@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\ViewModels\Console; |
4 | 4 | |
5 | -use Illuminate\Support\Str; |
|
6 | 5 | use Illuminate\Console\GeneratorCommand; |
6 | +use Illuminate\Support\Str; |
|
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | |
9 | 9 | class ViewModelMakeCommand extends GeneratorCommand |
@@ -3,15 +3,15 @@ |
||
3 | 3 | namespace Spatie\ViewModels; |
4 | 4 | |
5 | 5 | use Closure; |
6 | -use ReflectionClass; |
|
7 | -use ReflectionMethod; |
|
8 | -use ReflectionProperty; |
|
9 | -use Illuminate\Support\Str; |
|
6 | +use Illuminate\Contracts\Support\Arrayable; |
|
7 | +use Illuminate\Contracts\Support\Responsable; |
|
10 | 8 | use Illuminate\Http\JsonResponse; |
11 | 9 | use Illuminate\Support\Collection; |
10 | +use Illuminate\Support\Str; |
|
12 | 11 | use Illuminate\Support\Traits\Macroable; |
13 | -use Illuminate\Contracts\Support\Arrayable; |
|
14 | -use Illuminate\Contracts\Support\Responsable; |
|
12 | +use ReflectionClass; |
|
13 | +use ReflectionMethod; |
|
14 | +use ReflectionProperty; |
|
15 | 15 | use Symfony\Component\HttpFoundation\Response; |
16 | 16 | |
17 | 17 | abstract class ViewModel implements Arrayable, Responsable |