Recipient::getFio()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
/**
6
 * Class Recipient
7
 * @package PimpayBundle\Model
8
 */
9
class Recipient
10
{
11
    /**
12
     * @var string|null
13
     */
14
    private $fio;
15
16
    /**
17
     * @var string|null
18
     */
19
    private $phone;
20
21
    /**
22
     * @var string|null
23
     */
24
    private $email;
25
26
    /**
27
     * @return string
28
     */
29
    public function getFio(): string
30
    {
31
        return $this->fio;
32
    }
33
34
    /**
35
     * @param string|null $fio
36
     * @return $this
37
     */
38
    public function setFio(string $fio = null)
39
    {
40
        $this->fio = $fio;
41
42
        return $this;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function getPhone(): string
49
    {
50
        return $this->phone;
51
    }
52
53
    /**
54
     * @param string|null $phone
55
     * @return $this
56
     */
57
    public function setPhone(string $phone = null)
58
    {
59
        $this->phone = $phone;
60
61
        return $this;
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getEmail(): string
68
    {
69
        return $this->email;
70
    }
71
72
    /**
73
     * @param string|null $email
74
     * @return $this
75
     */
76
    public function setEmail(string $email = null)
77
    {
78
        $this->email = $email;
79
80
        return $this;
81
    }
82
}
83