FacadeMarkedProductsCertDoc   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 37
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getType() 0 4 1
A getNumber() 0 4 1
A getDate() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Lamoda\IsmpClient\V3\Dto;
6
7
final class FacadeMarkedProductsCertDoc
8
{
9
    /**
10
     * @var string
11
     */
12
    private $type;
13
    /**
14
     * @var string
15
     */
16
    private $number;
17
    /**
18
     * @var string
19
     */
20
    private $date;
21
22
    public function __construct(string $type, string $number, string $date)
23
    {
24
        $this->type = $type;
25
        $this->number = $number;
26
        $this->date = $date;
27
    }
28
29
    public function getType(): string
30
    {
31
        return $this->type;
32
    }
33
34
    public function getNumber(): string
35
    {
36
        return $this->number;
37
    }
38
39
    public function getDate(): string
40
    {
41
        return $this->date;
42
    }
43
}
44