Completed
Push — master ( d98c10...e4052f )
by Nikolas
04:37
created

ActionListItem::getCaption()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace rtens\domin\delivery\web\home;
3
4
class ActionListItem {
5
6
    /** @var string */
7
    private $id;
8
9
    /** @var string */
10
    private $caption;
11
12
    /** @var string */
13
    private $description;
14
15
    /**
16
     * @param string $id
17
     * @param string $caption
18
     * @param string $description
19
     */
20
    public function __construct($id, $caption, $description) {
21
        $this->id = $id;
22
        $this->caption = $caption;
23
        $this->description = $description;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getId() {
30
        return $this->id;
31
    }
32
33
    /**
34
     * @return string
35
     */
36
    public function getCaption() {
37
        return $this->caption;
38
    }
39
40
    /**
41
     * @return string
42
     */
43
    public function getDescription() {
44
        return $this->description;
45
    }
46
}