AddGroupRequest   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 65
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getTitle() 0 4 1
A setTitle() 0 4 1
A getFromName() 0 4 1
A setFromName() 0 4 1
A getSignature() 0 4 1
A setSignature() 0 4 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