Code Duplication    Length = 74-89 lines in 2 locations

src/Request/Staff/AddStaffRequest.php 1 location

@@ 10-83 (lines=74) @@
7
 * Class AddStaffRequest
8
 * @package OmnideskBundle\Request\Staff
9
 */
10
class AddStaffRequest implements RequestInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    private $email;
16
17
    /**
18
     * @var string
19
     */
20
    private $fullName;
21
22
    /**
23
     * @var string
24
     */
25
    private $signature;
26
27
    /**
28
     * @return string
29
     */
30
    public function getEmail()
31
    {
32
        return $this->email;
33
    }
34
35
    /**
36
     * @param string $email
37
     * @return $this
38
     */
39
    public function setEmail($email)
40
    {
41
        $this->email = $email;
42
43
        return $this;
44
    }
45
46
    /**
47
     * @return string
48
     */
49
    public function getFullName()
50
    {
51
        return $this->fullName;
52
    }
53
54
    /**
55
     * @param string $fullName
56
     * @return $this
57
     */
58
    public function setFullName($fullName)
59
    {
60
        $this->fullName = $fullName;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @return string
67
     */
68
    public function getSignature()
69
    {
70
        return $this->signature;
71
    }
72
73
    /**
74
     * @param string $signature
75
     * @return $this
76
     */
77
    public function setSignature($signature)
78
    {
79
        $this->signature = $signature;
80
81
        return $this;
82
    }
83
}
84

src/Request/Staff/EditStaffRequest.php 1 location

@@ 10-98 (lines=89) @@
7
 * Class EditStaffRequest
8
 * @package OmnideskBundle\Request\Staff
9
 */
10
class EditStaffRequest implements RequestInterface
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