Phone::getMain()   A
last analyzed

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 Ticketpark\SaferpayJson\Request\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
9
final class Phone
10
{
11
    /**
12
     * @var string|null
13
     * @SerializedName("Main")
14
     */
15
    private $main;
16
17
    /**
18
     * @var string|null
19
     * @SerializedName("Mobile")
20
     */
21
    private $mobile;
22
23
    /**
24
     * @var string|null
25
     * @SerializedName("Work")
26
     */
27
    private $work;
28
29
    public function getMain(): ?string
30
    {
31
        return $this->main;
32
    }
33
34
    public function setMain(?string $main): self
35
    {
36
        $this->main = $main;
37
38
        return $this;
39
    }
40
41
    public function getMobile(): ?string
42
    {
43
        return $this->mobile;
44
    }
45
46
    public function setMobile(?string $mobile): self
47
    {
48
        $this->mobile = $mobile;
49
50
        return $this;
51
    }
52
53
    public function getWork(): ?string
54
    {
55
        return $this->work;
56
    }
57
58
    public function setWork(?string $work): self
59
    {
60
        $this->work = $work;
61
62
        return $this;
63
    }
64
}
65