Test Failed
Push — master ( 99edcd...37bac2 )
by
04:31 queued 02:01
created

CommandData::setLineActiveCmd()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the LineMob package.
5
 *
6
 * (c) Ishmael Doss <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace LineMob\Core\Storage;
13
14
/**
15
 * @author Ishmael Doss <[email protected]>
16
 */
17
class CommandData implements CommandDataInterface
18
{
19
    /**
20
     * @var string
21
     */
22
    private $lineUserId;
23
24
    /**
25
     * @var string
26
     */
27
    private $lineActiveCmd;
28
29
    /**
30
     * @var array
31
     */
32
    private $lineCommandData = [];
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function getLineUserId()
38
    {
39
        return $this->lineUserId;
40
    }
41
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function setLineUserId($lineUserId)
46
    {
47
        $this->lineUserId = $lineUserId;
48
    }
49
50
    /**
51
     * {@inheritdoc}
52
     */
53
    public function getLineActiveCmd()
54
    {
55
        return $this->lineActiveCmd;
56
    }
57
58
    /**
59
     * {@inheritdoc}
60
     */
61
    public function setLineActiveCmd($lineActiveCmd)
62
    {
63
        $this->lineActiveCmd = $lineActiveCmd;
64
    }
65
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function getLineCommandData()
70
    {
71
        return $this->lineCommandData;
72
    }
73
74
    /**
75
     * {@inheritdoc}
76
     */
77
    public function setLineCommandData(array $lineCommandData)
78
    {
79
        $this->lineCommandData = $lineCommandData;
80
    }
81
}
82