Completed
Push — master ( 090086...39b0a3 )
by Josh
30:05 queued 13:42
created

GetAllRoomsSpecifications::getStrISOLanguageCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
dl 4
loc 4
rs 10
c 1
b 1
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Gueststream\PMS\IQWare\API;
4
5 View Code Duplication
class GetAllRoomsSpecifications
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 $guid
10
     */
11
    protected $guid = null;
12
13
    /**
14
     * @var string $strISOLanguageCode
15
     */
16
    protected $strISOLanguageCode = null;
17
18
    /**
19
     * @param int $guid
20
     * @param string $strISOLanguageCode
21
     */
22
    public function __construct($guid, $strISOLanguageCode)
23
    {
24
        $this->guid = $guid;
25
        $this->strISOLanguageCode = $strISOLanguageCode;
26
    }
27
28
    /**
29
     * @return int
30
     */
31
    public function getGuid()
32
    {
33
        return $this->guid;
34
    }
35
36
    /**
37
     * @param int $guid
38
     *
39
*@return \Gueststream\PMS\IQWare\API\GetAllRoomsSpecifications
40
     */
41
    public function setGuid($guid)
42
    {
43
        $this->guid = $guid;
44
        return $this;
45
    }
46
47
    /**
48
     * @return string
49
     */
50
    public function getStrISOLanguageCode()
51
    {
52
        return $this->strISOLanguageCode;
53
    }
54
55
    /**
56
     * @param string $strISOLanguageCode
57
     *
58
*@return \Gueststream\PMS\IQWare\API\GetAllRoomsSpecifications
59
     */
60
    public function setStrISOLanguageCode($strISOLanguageCode)
61
    {
62
        $this->strISOLanguageCode = $strISOLanguageCode;
63
        return $this;
64
    }
65
}
66