AddStaffRequest::setFullName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 6
Ratio 100 %

Importance

Changes 0
Metric Value
dl 6
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace OmnideskBundle\Request\Staff;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class AddStaffRequest
8
 * @package OmnideskBundle\Request\Staff
9
 */
10 View Code Duplication
class AddStaffRequest 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 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