Passed
Push — master ( 86b291...5e082c )
by Willy
02:08
created

TooltipParamsValueObject::getTimewalkerLevel()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Kubinashi\BattlenetApi\WorldOfWarcraft\CharacterProfileApi\Model\Item;
4
5
/**
6
 * @author  Willy Reiche
7
 * @since   2017-08-23
8
 * @version 1.0
9
 */
10
class TooltipParamsValueObject
11
{
12
    /**
13
     * @var int
14
     */
15
    private $transmogItem;
16
    /**
17
     * @var int
18
     */
19
    private $timewalkerLevel;
20
21
    /**
22
     * TooltipParamsValueObject constructor.
23
     * @param int $transmogItem
24
     * @param int $timewalkerLevel
25
     */
26
    public function __construct(
27
        $transmogItem,
28
        $timewalkerLevel
29
    ) {
30
        $this->transmogItem = $transmogItem;
31
        $this->timewalkerLevel = $timewalkerLevel;
32
    }
33
34
    /**
35
     * @return int
36
     */
37
    public function getTransmogItem()
38
    {
39
        return $this->transmogItem;
40
    }
41
42
    /**
43
     * @return int
44
     */
45
    public function getTimewalkerLevel()
46
    {
47
        return $this->timewalkerLevel;
48
    }
49
}
50