Issuer::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/*
3
* (c) Nimbles b.v. <[email protected]>
4
*
5
* For the full copyright and license information, please view the LICENSE
6
* file that was distributed with this source code.
7
*/
8
9
namespace Nimbles\CMTelecom\Model;
10
11
/**
12
 * Class Issuer
13
 */
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
44
    {
45
        return $this->name;
46
    }
47
}
48