Passed
Push — master ( d91b12...474736 )
by Sebastian
03:24
created

getInternationalExample()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

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
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Mailcode;
6
7
class Mailcode_Commands_Command_ShowPhone_Number
8
{
9
    /**
10
     * @var string
11
     */
12
    private $countryCode;
13
14
    /**
15
     * @var string
16
     */
17
    private $localExample;
18
19
    /**
20
     * @var string
21
     */
22
    private $internationalExample;
23
24
    /**
25
     * @var string
26
     */
27
    private $label;
28
29
    public function __construct(string $countryCode, string $label, string $localExample, string $internationalExample)
30
    {
31
        $this->countryCode = $countryCode;
32
        $this->label = $label;
33
        $this->localExample = $localExample;
34
        $this->internationalExample = $internationalExample;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getLabel(): string
41
    {
42
        return $this->label;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function getCountryCode(): string
49
    {
50
        return $this->countryCode;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getLocalExample(): string
57
    {
58
        return $this->localExample;
59
    }
60
61
    /**
62
     * @return string
63
     */
64
    public function getInternationalExample(): string
65
    {
66
        return $this->internationalExample;
67
    }
68
}
69