SignContractsCommand::privacy()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpCfdi\Finkok\Services\Manifest;
6
7
class SignContractsCommand
8
{
9
    /** @var string */
10
    private $snid;
11
12
    /** @var string */
13
    private $privacy;
14
15
    /** @var string */
16
    private $contract;
17
18 6
    public function __construct(string $snid, string $privacy, string $contract)
19
    {
20 6
        $this->snid = $snid;
21 6
        $this->privacy = $privacy;
22 6
        $this->contract = $contract;
23
    }
24
25 6
    public function snid(): string
26
    {
27 6
        return $this->snid;
28
    }
29
30 6
    public function privacy(): string
31
    {
32 6
        return $this->privacy;
33
    }
34
35 6
    public function contract(): string
36
    {
37 6
        return $this->contract;
38
    }
39
}
40