AddGroupRequest::setTitle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
namespace OmnideskBundle\Request\Group;
3
4
use OmnideskBundle\Request\RequestInterface;
5
6
/**
7
 * Class AddGroupRequest
8
 * @package OmnideskBundle\Request\Group
9
 */
10
class AddGroupRequest implements RequestInterface
11
{
12
    /**
13
     * @var string
14
     */
15
    private $title;
16
17
    /**
18
     * @var string|null
19
     */
20
    private $fromName;
21
22
    /**
23
     * @var string|null
24
     */
25
    private $signature;
26
27
    /**
28
     * @return string
29
     */
30
    public function getTitle()
31
    {
32
        return $this->title;
33
    }
34
35
    /**
36
     * @param string $title
37
     */
38
    public function setTitle(string $title)
39
    {
40
        $this->title = $title;
41
    }
42
43
    /**
44
     * @return null|string
45
     */
46
    public function getFromName()
47
    {
48
        return $this->fromName;
49
    }
50
51
    /**
52
     * @param null|string $fromName
53
     */
54
    public function setFromName(string $fromName = null)
55
    {
56
        $this->fromName = $fromName;
57
    }
58
59
    /**
60
     * @return null|string
61
     */
62
    public function getSignature()
63
    {
64
        return $this->signature;
65
    }
66
67
    /**
68
     * @param null|string $signature
69
     */
70
    public function setSignature(string $signature = null)
71
    {
72
        $this->signature = $signature;
73
    }
74
}
75