Command   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getDomainId() 0 4 1
1
<?php
2
/**
3
 * Copyright
4
 */
5
namespace Hexarchium\CoreDomain\UseCase\CreateDomain;
6
7
8
class Command
9
{
10
    private $domainId;
11
12
    /**
13
     * Command constructor.
14
     *
15
     * @param $domainId
16
     */
17
    public function __construct(string $domainId)
18
    {
19
        $this->domainId = $domainId;
20
    }
21
22
    /**
23
     * @return string
24
     */
25
    public function getDomainId(): string
26
    {
27
        return $this->domainId;
28
    }
29
}
30