Passed
Push — master ( 590453...ad5a85 )
by Arthur
24:49
created

FileGeneratorCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setOptions() 0 3 1
A setArguments() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 09.03.19
6
 * Time: 17:15.
7
 */
8
9
namespace Foundation\Generator\Abstracts;
10
11
use Foundation\Core\Larapi;
12
use Foundation\Core\Module;
13
use Foundation\Generator\Events\CommandGeneratedEvent;
14
use Illuminate\Contracts\Filesystem\FileExistsException;
15
use Illuminate\Support\Str;
16
use Nwidart\Modules\Commands\GeneratorCommand;
17
use Symfony\Component\Console\Input\InputArgument;
18
use Symfony\Component\Console\Input\InputOption;
19
20
abstract class FileGeneratorCommand extends AbstractGeneratorCommand
21
{
22
    /**
23
     * Get the console command arguments.
24
     *
25
     * @return array
26
     */
27
    protected function setArguments(): array
28
    {
29
        return [];
30
    }
31
32
    /**
33
     * Get the console command options.
34
     *
35
     * @return array
36
     */
37
    protected function setOptions() :array
38
    {
39
        return [];
40
    }
41
}
42