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

FileGeneratorCommand::setOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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