Completed
Push — master ( bbdd37...061748 )
by Vincenzo
02:24
created

CreateConfigCommand   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFilePath() 0 4 1
A getStub() 0 4 1
1
<?php
2
3
4
namespace App\Lib\Slime\Console\Commands;
5
6
7
use App\Lib\Slime\Console\GeneratorHelperCommand;
8
9
class CreateConfigCommand extends GeneratorHelperCommand
10
{
11
    protected function getFilePath()
12
    {
13
        return 'config/';
14
    }
15
16
    protected function getStub()
17
    {
18
        return PHP_EOL . 'return [' . PHP_EOL . '];' . PHP_EOL;
19
    }
20
21
22
}