Test Setup Failed
Push — master ( 0a7a66...5f7a13 )
by Vragov
03:02
created

EditStaffRequest::setStaffId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 6
Ratio 100 %

Importance

Changes 0
Metric Value
dl 6
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace OmnideskBundle\Request\Staff;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class EditStaffRequest
8
 * @package OmnideskBundle\Request\Staff
9
 */
10 View Code Duplication
class EditStaffRequest implements RequestInterface
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
11
{
12
    /**
13
     * @var int
14
     */
15
    private $staffId;
16
17
    /**
18
     * @var string
19
     */
20
    private $email;
21
22
    /**
23
     * @var string
24
     */
25
    private $fullName;
26
27
    /**
28
     * @var string
29
     */
30
    private $signature;
31
32
    /**
33
     * @return int
34
     */
35
    public function getStaffId()
36
    {
37
        return $this->staffId;
38
    }
39
40
    /**
41
     * @param int $staffId
42
     * @return $this
43
     */
44
    public function setStaffId($staffId)
45
    {
46
        $this->staffId = $staffId;
47
48
        return $this;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function getEmail()
55
    {
56
        return $this->email;
57
    }
58
59
    /**
60
     * @param string $email
61
     */
62
    public function setEmail($email)
63
    {
64
        $this->email = $email;
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getFullName()
71
    {
72
        return $this->fullName;
73
    }
74
75
    /**
76
     * @param string $fullName
77
     */
78
    public function setFullName($fullName)
79
    {
80
        $this->fullName = $fullName;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function getSignature()
87
    {
88
        return $this->signature;
89
    }
90
91
    /**
92
     * @param string $signature
93
     */
94
    public function setSignature($signature)
95
    {
96
        $this->signature = $signature;
97
    }
98
}
99