Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class Issuer |
||
15 | { |
||
16 | /** @var string */ |
||
17 | private $id; |
||
18 | |||
19 | /** @var string */ |
||
20 | private $name; |
||
21 | |||
22 | /** |
||
23 | * @param string $id |
||
24 | * @param string $name |
||
25 | */ |
||
26 | public function __construct(string $id, string $name) |
||
27 | { |
||
28 | $this->id = $id; |
||
29 | $this->name = $name; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getId() : string |
||
36 | { |
||
37 | return $this->id; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getName() : string |
||
46 | } |
||
47 | } |
||
48 |