Staff::setSignature()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace OmnideskBundle\Model;
3
4
/**
5
 * Class Staff
6
 * @package OmnideskBundle\Model
7
 */
8
class Staff
9
{
10
    /**
11
     * @var int
12
     */
13
    private $id;
14
15
    /**
16
     * @var string
17
     */
18
    private $email;
19
20
    /**
21
     * @var string
22
     */
23
    private $fullName;
24
25
    /**
26
     * @var string
27
     */
28
    private $signature;
29
30
    /**
31
     * @var string
32
     */
33
    private $thumbnail;
34
35
    /**
36
     * @var bool
37
     */
38
    private $active;
39
40
    /**
41
     * @var \DateTime
42
     */
43
    private $createdAt;
44
45
    /**
46
     * @var \DateTime
47
     */
48
    private $updatedAt;
49
50
    /**
51
     * @return int
52
     */
53
    public function getId()
54
    {
55
        return $this->id;
56
    }
57
58
    /**
59
     * @param int $id
60
     * @return $this
61
     */
62
    public function setId($id)
63
    {
64
        $this->id = $id;
65
66
        return $this;
67
    }
68
69
    /**
70
     * @return string
71
     */
72
    public function getEmail()
73
    {
74
        return $this->email;
75
    }
76
77
    /**
78
     * @param string $email
79
     * @return $this
80
     */
81
    public function setEmail($email)
82
    {
83
        $this->email = $email;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @return string
90
     */
91
    public function getFullName()
92
    {
93
        return $this->fullName;
94
    }
95
96
    /**
97
     * @param string $fullName
98
     * @return $this
99
     */
100
    public function setFullName($fullName)
101
    {
102
        $this->fullName = $fullName;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @return string
109
     */
110
    public function getSignature()
111
    {
112
        return $this->signature;
113
    }
114
115
    /**
116
     * @param string $signature
117
     * @return $this
118
     */
119
    public function setSignature($signature)
120
    {
121
        $this->signature = $signature;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @return string
128
     */
129
    public function getThumbnail()
130
    {
131
        return $this->thumbnail;
132
    }
133
134
    /**
135
     * @param string $thumbnail
136
     * @return $this
137
     */
138
    public function setThumbnail($thumbnail)
139
    {
140
        $this->thumbnail = $thumbnail;
141
142
        return $this;
143
    }
144
145
    /**
146
     * @return bool
147
     */
148
    public function isActive()
149
    {
150
        return $this->active;
151
    }
152
153
    /**
154
     * @param bool $active
155
     * @return $this
156
     */
157
    public function setActive($active)
158
    {
159
        $this->active = $active;
160
161
        return $this;
162
    }
163
164
    /**
165
     * @return \DateTime
166
     */
167
    public function getCreatedAt()
168
    {
169
        return $this->createdAt;
170
    }
171
172
    /**
173
     * @param \DateTime $createdAt
174
     * @return $this
175
     */
176
    public function setCreatedAt(\DateTime $createdAt)
177
    {
178
        $this->createdAt = $createdAt;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @return \DateTime
185
     */
186
    public function getUpdatedAt()
187
    {
188
        return $this->updatedAt;
189
    }
190
191
    /**
192
     * @param \DateTime $updatedAt
193
     * @return $this
194
     */
195
    public function setUpdatedAt(\DateTime $updatedAt)
196
    {
197
        $this->updatedAt = $updatedAt;
198
199
        return $this;
200
    }
201
}
202