Issuer   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 32
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
A getId() 0 3 1
A __construct() 0 4 1
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