Total Complexity | 2 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 38.46% |
Changes | 0 |
1 | <?php |
||
21 | class AuditTableCommand extends Command |
||
22 | { |
||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | protected $name = 'auditing:table'; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | protected $description = 'Create a migration for the audits table'; |
||
32 | |||
33 | /** |
||
34 | * The filesystem instance. |
||
35 | * |
||
36 | * @var \Illuminate\Filesystem\Filesystem |
||
37 | */ |
||
38 | protected $files; |
||
39 | |||
40 | /** |
||
41 | * Composer. |
||
42 | * |
||
43 | * @var \Illuminate\Support\Composer |
||
44 | */ |
||
45 | protected $composer; |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | 246 | public function __construct(Filesystem $files, Composer $composer) |
|
56 | 246 | } |
|
57 | |||
58 | /** |
||
59 | * Execute the console command. |
||
60 | * |
||
61 | * @return void |
||
62 | */ |
||
63 | public function handle() |
||
79 |