Passed
Push — master ( fa3bf1...2fa9b0 )
by
unknown
04:14
created

CommandHandler   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 9
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 6 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: thales
5
 * Date: 17/01/2019
6
 * Time: 20:12
7
 */
8
9
namespace Saci\Console\Infrastructure\Domain\Services\PhpClass;
10
11
12
use cristianoc72\codegen\model\GenerateableInterface;
13
use cristianoc72\codegen\model\PhpClass;
14
use Saci\Console\Domain\Services\PhpClass as PhpClassInterface;
15
16
class CommandHandler extends PhpClass implements PhpClassInterface
17
{
18
19
    public function make(string $moduleName): GenerateableInterface
20
    {
21
        $this
22
            ->setQualifiedName("Saci\\{$moduleName}\\UseCase\\");
23
24
        return $this;
25
    }
26
}