SegmentInfo   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 63
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 63
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getName() 0 4 1
A getType() 0 4 1
A getDescription() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Mediapart Selligent Client API
5
 *
6
 * CC BY-NC-SA <https://github.com/mediapart/selligent>
7
 *
8
 * For the full license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Mediapart\Selligent;
13
14
/**
15
 *
16
 */
17
class SegmentInfo
18
{
19
    /**
20
     * @var int identifier
21
     */
22
    protected $ID;
23
24
    /**
25
     * @var string name
26
     */
27
    protected $Name;
28
29
    /**
30
     * @var string type
31
     */
32
    protected $Type;
33
34
    /**
35
     *
36
     * @var strinf description
37
     */
38
    protected $Description;
39
40
    /**
41
     * Gets the segment's identifier
42
     *
43
     * @return int identifier
44
     */
45 1
    public function getId()
46
    {
47 1
        return $this->ID;
48
    }
49
50
    /**
51
     * Gets the segment's name
52
     *
53
     * @return string name
54
     */
55 1
    public function getName()
56
    {
57 1
        return $this->Name;
58
    }
59
60
    /**
61
     * Gets the segment's type
62
     *
63
     * @return string type
64
     */
65 1
    public function getType()
66
    {
67 1
        return $this->Type;
68
    }
69
70
    /**
71
     * Gets the segment's description
72
     *
73
     * @return string description
74
     */
75 1
    public function getDescription()
76
    {
77 1
        return $this->Description;
78
    }
79
}
80