Completed
Branch master (7b7e33)
by Tomasz
05:27 queued 03:26
created

Command::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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