WebRes_getGHStats::setStrPassword()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 5
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 5
loc 5
ccs 0
cts 5
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5 View Code Duplication
class WebRes_getGHStats
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
6
{
7
8
    /**
9
     * @var int $intGUID
10
     */
11
    protected $intGUID = null;
12
13
    /**
14
     * @var int $intAccNo
15
     */
16
    protected $intAccNo = null;
17
18
    /**
19
     * @var string $strPassword
20
     */
21
    protected $strPassword = null;
22
23
    /**
24
     * @param int $intGUID
25
     * @param int $intAccNo
26
     * @param string $strPassword
27
     */
28
    public function __construct($intGUID, $intAccNo, $strPassword)
29
    {
30
        $this->intGUID = $intGUID;
31
        $this->intAccNo = $intAccNo;
32
        $this->strPassword = $strPassword;
33
    }
34
35
    /**
36
     * @return int
37
     */
38
    public function getIntGUID()
39
    {
40
        return $this->intGUID;
41
    }
42
43
    /**
44
     * @param int $intGUID
45
     * @return \Gueststream\PMS\IQWare\API\WebRes_getGHStats
46
     */
47
    public function setIntGUID($intGUID)
48
    {
49
        $this->intGUID = $intGUID;
50
        return $this;
51
    }
52
53
    /**
54
     * @return int
55
     */
56
    public function getIntAccNo()
57
    {
58
        return $this->intAccNo;
59
    }
60
61
    /**
62
     * @param int $intAccNo
63
     * @return \Gueststream\PMS\IQWare\API\WebRes_getGHStats
64
     */
65
    public function setIntAccNo($intAccNo)
66
    {
67
        $this->intAccNo = $intAccNo;
68
        return $this;
69
    }
70
71
    /**
72
     * @return string
73
     */
74
    public function getStrPassword()
75
    {
76
        return $this->strPassword;
77
    }
78
79
    /**
80
     * @param string $strPassword
81
     * @return \Gueststream\PMS\IQWare\API\WebRes_getGHStats
82
     */
83
    public function setStrPassword($strPassword)
84
    {
85
        $this->strPassword = $strPassword;
86
        return $this;
87
    }
88
}
89